# The relationship between exsting julia objects and gc time?

**URL:** <https://discourse.julialang.org/t/the-relationship-between-exsting-julia-objects-and-gc-time/90533>\
**Category:** New to Julia\
**Created:** [November 20, 2022, 10:22am UTC](https://discourse.julialang.org/t/the-relationship-between-exsting-julia-objects-and-gc-time/90533 "2022-11-20T10:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brian1/32/49250_2.png) [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Post date:** [November 20, 2022, 10:22am UTC](https://discourse.julialang.org/t/the-relationship-between-exsting-julia-objects-and-gc-time/90533/1 "2022-11-20T10:22:59Z")

</div>

I found that, with more and more large objects generated in running time, the gc time will increase massively. So I have to always pay much attention on generating objects. Is there a way I can handle this properly?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 20, 2022, 11:01am UTC](https://discourse.julialang.org/t/the-relationship-between-exsting-julia-objects-and-gc-time/90533/2 "2022-11-20T11:01:54Z")

</div>

Allocate fewer things on the heap?
