Memory leak problem?
Posted: Thu Apr 05, 2012 4:50 pm
Hello,
I am testing OpenEmm with a lot of subscribers (more than 2,000,000).
I always have a "Java.lang.OutOfMemoryError: Java heap space" error when I try to generate a mailing (without any templating or tag in it).
I changed the JAVA_OPTIONS (as the documentation said) and added all my available memory (2go), but it's still the same.
I did my test on a new OpenEmm installation, and nothing in the database except 1 mailing, 1 mailingList and the recipients.
For 2,000,000 recipients the generation stopped very fast (few minutes) but with 1,000,000 recipients it crashed after 2.5 hours and 95% of the generation done.
I just want to know if you can tell me:
- how much memory do I need to send around 2,000,000 emails for one mailingList?
- Can I change something to no longer get the "Java.lang.OutOfMemoryError: Java heap space" error, even if the generation will be very slow?
(Is there a parameter to limit the used memory)?
- If not, is the memory better managed in the 2012 OpenEmm version?
Thanks,
Best Regards.
I am testing OpenEmm with a lot of subscribers (more than 2,000,000).
I always have a "Java.lang.OutOfMemoryError: Java heap space" error when I try to generate a mailing (without any templating or tag in it).
I changed the JAVA_OPTIONS (as the documentation said) and added all my available memory (2go), but it's still the same.
I did my test on a new OpenEmm installation, and nothing in the database except 1 mailing, 1 mailingList and the recipients.
For 2,000,000 recipients the generation stopped very fast (few minutes) but with 1,000,000 recipients it crashed after 2.5 hours and 95% of the generation done.
I just want to know if you can tell me:
- how much memory do I need to send around 2,000,000 emails for one mailingList?
- Can I change something to no longer get the "Java.lang.OutOfMemoryError: Java heap space" error, even if the generation will be very slow?
(Is there a parameter to limit the used memory)?
- If not, is the memory better managed in the 2012 OpenEmm version?
Thanks,
Best Regards.