Hi all,

We're getting an OutOfMemoryError (Wicket 1.3.1 on Tomcat 5.5.17 with Sun JVM 1.5.0_06-b05) in the PageSavingThread occasionally and I was just wondering if anyone had seen this before. Is it likely just a side-effect of some other problem in our application? Or is this an issue with how the pages are written out in wicket.

Exception in thread "PageSavingThread-wicketFilter" java.lang.OutOfMemoryError
   at sun.misc.Unsafe.allocateMemory(Native Method)
   at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:99)
   at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
   at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:56)
   at sun.nio.ch.IOUtil.write(IOUtil.java:69)
   at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:651)
at org.apache.wicket.protocol.http.pagestore.DiskPageStore$SessionEntry.savePage(DiskPageStore.java:246) at org.apache.wicket.protocol.http.pagestore.DiskPageStore.flushPagesToSaveList(DiskPageStore.java:885) at org.apache.wicket.protocol.http.pagestore.DiskPageStore$PageSavingThread.run(DiskPageStore.java:948)

Thanks in advance,
Meetesh

Reply via email to