[HttpAdaptor] OutOfMemoryError in Java 1.5 on Refresh
Mike Starkie <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Everyone, I have encountered a serious problem when using the MX4J 3.0.1 HttpAdaptor on java 1.5. If I refresh a page enough times the virtual machine will eventually throw OutOfMemoryError. Running the same program on java 1.4 will always recover it's memory and never through the error. There is also a posting on SoureForge regarding this problem in the "Feature Request" section. I have created a small test program with build and run scripts which will demonstrate the error if you have java 1.4 and 1.5 both installed. I used windows xp to test. I didn't include the test program here but I will if you think it's appropriate. It's about 800kb in compressed zip format. Since all of our production servers use mx4j and we are in the process of migrating to java 1.5 I'm hoping there will be a fix soon. --mike