Trying to cause java.lang.OutOfMemoryException

Posted by portoalet on Stack Overflow See other posts from Stack Overflow or by portoalet
Published on 2010-03-15T09:35:37Z Indexed on 2010/03/15 9:39 UTC
Read the original article Hit count: 446

Filed under:
|
|

Hi,

I am trying to reproduce java.lang.OutOfMemoryException in Jboss4, which one of our client got, presumably by running the J2EE applications over days/weeks.

I am trying to find a way for the webapp to spitout java.lang.OutOfMemoryException in a matter of minutes (instead of days/weeks).

One thing come into mind is to write a selenium script and has the script bombards the webapps. One other thing that we can do is to reduce JVM heap size, but we would prefer not to do this, as we want to see the limit of our system.

Any suggestions?

ps: I don't have access to the source code.

© Stack Overflow or respective owner

Related posts about jboss

Related posts about java