PernGenSize out of memory

Does anybody encountered this kind of problem when running a large number of JUnit tests within IDEA?

Actually this happens for 'our DB tests', that is our unit tests using persistent classes - for each test we're re-building a Hibernate SessionFactory...


Thanks,
_marc

4 comments

-XX:MaxPermSize=92m in virtual machine settings will help

0

Hello Marc,

Is it testing VM fails with OOM or IDEA itself?

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Does anybody encountered this kind of problem when running a large
number of JUnit tests within IDEA?

Actually this happens for 'our DB tests', that is our unit tests using
persistent classes - for each test we're re-building a Hibernate
SessionFactory...

Thanks,
_marc



0

Thanks, but we have now >]]> ;)

0

The testing VM.

But when using 384M for the PermGenSize, IDEA does not feel good at all on my laptop => CPU 100% - I've to shutdown abruptly my PC;

It seems ok on dual processor machine but I've no detail currently about that.

I've 2M of physical RAM on my laptop.

_marc

0

Please sign in to leave a comment.