Pentaho

 View Only

 How to clean memory

Ram Ch's profile image
Ram Ch posted 04-07-2023 00:17

HI,
I have a carte service running for a customer and lot of ETLs run through out the day.
The memory is getting filled within 1 day (4GB) and it is not getting cleared so we are getting OOO/GC/heap space error after 1 day and ETLs are failing, there are few ETLs which has looping logic but otherwise not very complicated stuff.
Is there a way I can clear the memory without having to restart carte?
Thanks,
Eshwar.

Petr Prochazka's profile image
Petr Prochazka

Hi Ram,
IMHO I don't think so.

You can create heap dump of process (on out of memory or when process is still running) and analyse it if there is memory leak.