Topic: How to configure Java heap space
How to configure Java heap space
Hi,
DataCleaner shows an error message that it ran out of memory. Where can I configure the Java heap space?
Thanks,
Diddy
DataCleaner shows an error message that it ran out of memory. Where can I configure the Java heap space?
Thanks,
Diddy
If you are running the .exe version of DC then you need to make an alternative launcher, a cmd or bat file. It should contain this as a starting point:
And in the bottom line you can see the heap space, it's by default 1024 megs.
@echo off
set DATACLEANER_HOME=%~dp0
cd /d %DATACLEANER_HOME%
echo Using DATACLEANER_HOME: %DATACLEANER_HOME%
call java -Xmx1024m -jar DataCleaner.jar
And in the bottom line you can see the heap space, it's by default 1024 megs.
I would like to add a comment to that ...
Which features are you using DataCleaner for? We did quite a lot of testing to make sure that the application could not run out of memory, so it surprises me a bit that you got it to do that. Of course there are always limits and if you eg. keep your result windows open and run new jobs again and again, then you can rather quickly build up a big memory footprint.
A way to tweak it is actually by editing the "conf.xml" file that is located in the root of your datacleaner directory. Find this element in it (line 54):
Which features are you using DataCleaner for? We did quite a lot of testing to make sure that the application could not run out of memory, so it surprises me a bit that you got it to do that. Of course there are always limits and if you eg. keep your result windows open and run new jobs again and again, then you can rather quickly build up a big memory footprint.
A way to tweak it is actually by editing the "conf.xml" file that is located in the root of your datacleaner directory. Find this element in it (line 54):
<in-memory />And change it to eg:
<in-memory max-rows-threshold="400" />This will mean that DC only keeps up to 400 rows in memory for measure samples ("drill to detail" datasets).
Btw the default value for that property is 1000.
Thanks a lot Kasper for your reply! I think actually that my PC ran out of memory. I closed another program that I had assigned 1GB of memory and then everything was working fine.
BTW: The new version is really amazing! Thanks a lot for your hard work!
BTW: The new version is really amazing! Thanks a lot for your hard work!
Log in by clicking the login link at the top of the screen
