# Maybe a bug?

**URL:** <https://root-forum.cern.ch/t/maybe-a-bug/64378>\
**Category:** Garfield++\
**Created:** [November 5, 2025, 1:41am UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378 "2025-11-05T01:41:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![newconcept1979](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/newconcept1979/32/26349_2.png) [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Post date:** [November 5, 2025, 1:41am UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378/1 "2025-11-05T01:41:19Z")

</div>

In a Garfield application, the gas(“xe“,90.,”ch4”,10.) is used, in running the application, the memory leak occurs.

but when changing xenon to argon, the application run well.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 5, 2025, 7:00am UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378/2 "2025-11-05T07:00:35Z")

</div>

I guess @hschindl can help you.

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [November 5, 2025, 5:02pm UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378/3 "2025-11-05T17:02:08Z")

</div>

Hi,  
thanks for reporting this. I would need a little bit more information. Do you have visualisation of the drift lines enabled? If you accumulate many tracks/drift lines to be plotted this will cause the memory consumption of the application to increase with time.

---

<div class="post-metadata">

**Author:** ![newconcept1979](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/newconcept1979/32/26349_2.png) [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Post date:** [November 6, 2025, 12:53am UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378/4 "2025-11-06T00:53:16Z")

</div>

@hschindl, yes, you are right, i accumulate 100 tracks and the related drift lines for plotting, in running, the memory used increase, and the memory leak takes place at last.

it seems it has more larger avalanche size when using the gas(“xe“,90.,”ch4”,10.) than the gas(“ar“,90.,”ch4”,10.).

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 20, 2025, 12:53am UTC](https://root-forum.cern.ch/t/maybe-a-bug/64378/5 "2025-11-20T00:53:23Z")

</div>

Closed on November 20, 2025, 12:53am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
