H
Hendrik Maryns
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all.
I have this program that does some very memory intense computations
converting logical formulae into tree automata. The automata get that
big that after a while I get OutOfMemoryError. I have this particular
formula that gave me problems the first time I started testing the
program. I then rewrote part of it to make it consume less memory, and
after 6 months of work, that formula still gives problems. However,
just monday, suddenly it managed in computing the formula, with ‘only’
1.2G of RAM.
However, this only works if I tell Eclipse to use the 32-bit java6 jre,
which I installed additionally to the 64-bit jdk that I use for development.
More strangely, I cannot reproduce this behavior consistently: the first
few times I tried today, it didn’t manage the formula, with neither
32-bit not 64-bit versions. Now, after some switching around, I get the
same result: the 32-bit jre manages the formula, the 64-bit one doesn’t.
The result is reproducible on the command line.
I also have a 1.5 version 64-bit, which seems to fail as well. And now
that I am in a testing phase, I quickly installed a 32-bit 1.5, which
didn’t manage either.
In short, my question: does anyone have an explanation for this? Are
there some things I can learn from this? Which part of my program
should be tuned, such that maybe it becomes usable with less memory? Etc.
Many thanks, H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGOI50e+7xMGD3itQRAh9MAJ0XgLkiSvtkhJbjaFoz387ls1T4CACfRZDc
xCsHREW4+v6FPtZMLFDbB3k=
=UuJa
-----END PGP SIGNATURE-----
Hash: SHA1
Hi all.
I have this program that does some very memory intense computations
converting logical formulae into tree automata. The automata get that
big that after a while I get OutOfMemoryError. I have this particular
formula that gave me problems the first time I started testing the
program. I then rewrote part of it to make it consume less memory, and
after 6 months of work, that formula still gives problems. However,
just monday, suddenly it managed in computing the formula, with ‘only’
1.2G of RAM.
However, this only works if I tell Eclipse to use the 32-bit java6 jre,
which I installed additionally to the 64-bit jdk that I use for development.
More strangely, I cannot reproduce this behavior consistently: the first
few times I tried today, it didn’t manage the formula, with neither
32-bit not 64-bit versions. Now, after some switching around, I get the
same result: the 32-bit jre manages the formula, the 64-bit one doesn’t.
The result is reproducible on the command line.
I also have a 1.5 version 64-bit, which seems to fail as well. And now
that I am in a testing phase, I quickly installed a 32-bit 1.5, which
didn’t manage either.
In short, my question: does anyone have an explanation for this? Are
there some things I can learn from this? Which part of my program
should be tuned, such that maybe it becomes usable with less memory? Etc.
Many thanks, H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGOI50e+7xMGD3itQRAh9MAJ0XgLkiSvtkhJbjaFoz387ls1T4CACfRZDc
xCsHREW4+v6FPtZMLFDbB3k=
=UuJa
-----END PGP SIGNATURE-----