# PositiveDomain callback and isoutofdomain implementation

**URL:** <https://discourse.julialang.org/t/positivedomain-callback-and-isoutofdomain-implementation/11097>\
**Category:** New to Julia\
**Tags:** diffeq\
**Created:** [May 23, 2018, 2:28pm UTC](https://discourse.julialang.org/t/positivedomain-callback-and-isoutofdomain-implementation/11097 "2018-05-23T14:28:55Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![swainarpit](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@swainarpit](https://discourse.julialang.org/u/swainarpit)\
**Post date:** [May 29, 2018, 10:40am UTC](https://discourse.julialang.org/t/positivedomain-callback-and-isoutofdomain-implementation/11097/18 "2018-05-29T10:40:17Z")

</div>

For whoever is following this thread and is interested in memory management:

> [@Efficient memory allocation for large system of ODEs](https://discourse.julialang.org/t/efficient-memory-allocation-for-large-system-of-odes/11226):
>
> Hi, I have a system of differential equations that mimic the clonal population in an immune system. For whoever is curious, the problem definition can be found in the post: At present, I am simulating with a small number of clones and thus, am able to deal with the memory required. But, for higher number of clones, the performance of my present code is pretty detrimental. Say, for 2000 clones (variable n), the code runs for about 15 hours and stops prematurely because of the shortage of memo…

---

_[View the full topic](https://discourse.julialang.org/t/positivedomain-callback-and-isoutofdomain-implementation/11097)._
