If you have a disk cache configured, then it will try to write the
contents of memory to disk on shutdown.  8gb is a lot of data to write!

What version of JCS are you using?

> -----Original Message-----
> From: giriraj [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 24, 2007 2:37 PM
> To: [email protected]
> Subject: JCS shutdown causes JVM hang
> 
> 
> We have an application that loads up 5.5 gb of cached data. We use
> LRUMemoryCache. Once the cache is loaded, there is processing that
happens
> on the cached data and that ranges upto 7 gb max memory. ( -Xmx=8gb)
> When the processing is done, when we do a System.exit() the shutdown
hook
> is
> called and the application just hangs. I have attached the thread
dump.
> Has
> anyone seen this before or any advise would be helpful.
> 
> Thanks
> http://www.nabble.com/file/5912/ErrorLog.txt ErrorLog.txt
> --
> View this message in context:
http://www.nabble.com/JCS-shutdown-causes-
> JVM-hang-tf3084079.html#a8570883
> Sent from the JCS - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to