Customer's Problem description:
---------------------------------
When we are using the server and doing load testing when ever Java throws a java.lang.OutofMemoryError, it crashes the beans.ocx.
I wrote a small COM sample to call the bean. But whenever the Java returns OutOfMemoryError beans.ocx crashes the application. To reproduce
1) Write a Java class which will take lot of memory
2) Convert in to ActiveX
3)Call that class repeatedly from another COM App
That App will be crashing when ever Java returns
java.lang.OutOfmemoryError. To easily reproduce you can set the -Xms -Xmx
parameters very low.
Attached is the jar file which will help you recreate the crash when
OutOfMemoryError occurs.
set the Java Run time Parameters in the Java Console -Xms5m -Xmx16m or
something less to recreate the problem quickly.
You need to call regsvr32 DialogServer.dll which will register the
DialogServer bean and the COM Object ( D:\EngineLoadTest>regsvr32
DialogServer.dll )
Run D:\EngineLoadTest>runcom 25 ( increase this or decrease).
We are using 1.3 Hotspot Client VM on Windows NT 4.0
---------------------------------
When we are using the server and doing load testing when ever Java throws a java.lang.OutofMemoryError, it crashes the beans.ocx.
I wrote a small COM sample to call the bean. But whenever the Java returns OutOfMemoryError beans.ocx crashes the application. To reproduce
1) Write a Java class which will take lot of memory
2) Convert in to ActiveX
3)Call that class repeatedly from another COM App
That App will be crashing when ever Java returns
java.lang.OutOfmemoryError. To easily reproduce you can set the -Xms -Xmx
parameters very low.
Attached is the jar file which will help you recreate the crash when
OutOfMemoryError occurs.
set the Java Run time Parameters in the Java Console -Xms5m -Xmx16m or
something less to recreate the problem quickly.
You need to call regsvr32 DialogServer.dll which will register the
DialogServer bean and the COM Object ( D:\EngineLoadTest>regsvr32
DialogServer.dll )
Run D:\EngineLoadTest>runcom 25 ( increase this or decrease).
We are using 1.3 Hotspot Client VM on Windows NT 4.0
- duplicates
-
JDK-4297547 JPlugin doesn't catch Error level exceptions
-
- Resolved
-