2012-05-14 31 views
0

我有下面的錯誤從WebSphere Application Server的SystemOut.log文件:'本地緩衝區'在JVM中意味着什麼?

[5/11/12 8:13:46:291 GMT+08:00] 000063c0 WebApp  E [Servlet Error]-[ICMResourceManager]: java.lang.OutOfMemoryError: unable to allocate 79683 bytes for native buffer 
at java.io.FileOutputStream.writeBytes(Native Method) 
at java.io.FileOutputStream.write(FileOutputStream.java:290) 
at com.ibm.mm.icmrm.storage.RMOutputStream.write(RMOutputStream.java:65) 
at com.ibm.mm.icmrm.storage.RMDataTransfer.copyData(RMDataTransfer.java:150) 
at com.ibm.mm.icmrm.storage.filesystem.FileSystem.store(FileSystem.java:104) 

看來本地OOM問題。我在這裏有一個問題,這是'原生緩衝區'在這裏與'直接字節緩衝區'?我可以嘗試通過重置屬性來放大「本機緩衝區」大小XX:MaxDirectMemorySize?順便說一下,它的默認值是什麼? 或者我可以設置此屬性-Dcom.ibm.nio.DirectByteBuffer.AggressiveMemoryManagement = true使本機內存空間動態?

WAS平臺的信息:

WebSphere Platform 6.1 [ND 6.1.0.27 cf270937.16] running with process name cmrmCell01\cmrmNode01\icmrm1 and process id 1802306 
Detailed IFix information: Please use the versionInfo command to view this information 
Host Operating System is AIX, version 5.3 
Java version = 1.5.0, Java Compiler = j9jit23, Java VM name = IBM J9 VM 

回答

0

我知道這是不是太多的答案,但是看看這篇文章,Understanding how the JVM uses native memory on AIX,有什麼有用的東西。

+0

有用的鏈接;但如果您引用鏈接中的幫助回答問題的引用,則會更有幫助。看[如何回答](http://stackoverflow.com/questions/how-to-answer)。 –

+0

@DanCruz是的,我知道這一點。但是由於目前我無法做到這一點,尤其是因爲沒有其他答案,所以我認爲請求者寧願有沒有上下文的鏈接而不是沒有它。 – dbreaux

+0

這是很好的文章,但我仍然無法從中得到答案。真的badddddddd! – wing2ofsky