# Generated Quantities throwing parsing error in Pystan

**URL:** <https://discourse.mc-stan.org/t/generated-quantities-throwing-parsing-error-in-pystan/12638>\
**Category:** Modeling\
**Created:** [January 14, 2020, 5:57pm UTC](https://discourse.mc-stan.org/t/generated-quantities-throwing-parsing-error-in-pystan/12638 "2020-01-14T17:57:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jjramsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jjramsey/32/3319_2.png) [@jjramsey](https://discourse.mc-stan.org/u/jjramsey)\
**Post date:** [January 14, 2020, 6:52pm UTC](https://discourse.mc-stan.org/t/generated-quantities-throwing-parsing-error-in-pystan/12638/6 "2020-01-14T18:52:24Z")

</div>

If `N_new` is large, you may run out of memory for reasons similar to those discussed in the topic [First Pystan Poisson Model](https://discourse.mc-stan.org/t/first-pystan-poisson-model/12575/6). Generated quantities take up memory in PyStan the same way that parameters do.

---

_[View the full topic](https://discourse.mc-stan.org/t/generated-quantities-throwing-parsing-error-in-pystan/12638)._
