[jboss-user] [Beginner's Corner] - Re: JBOSS out of swap space error

Peter Johnson do-not-reply at jboss.com
Mon Mar 21 15:05:32 EDT 2011


Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: JBOSS out of swap space error"

To view the discussion, visit: http://community.jboss.org/message/594580#594580

--------------------------------------------------------------
> Will this problem be resolved by increasing the RAM?
Yes. 2GB is too little RAM for a 64-bit Server system. You could also increase the pagefile size, as long as you don't mind slow performance. ;-)

> But i recently deployed some war files needed by application and i have started getting this error.

I doubt that this caused the problem. Most likely a recent Windows update increased the memory requirements for Window itself, or you are now runnign some extra app or service on that box. The error "out of swap space" essentailly means that there is not enough free memory (between RAM and the pagefile) to run the app. Provides that you did not change the JVM statrup parameters (max heap size, max permgen size) then the JVM will not be taking up any more memory on startup than what it was before those additional WARs were deployed. (There could be an issue later, though, it deploying those WARs would cause more HTTP threads to be created, but that would result in an different error message.)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/594580#594580]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110321/f6b706ea/attachment.html 


More information about the jboss-user mailing list