Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.OutOfMemoryError

854299Sep 6 2011 — edited Sep 7 2011
Hi,

I am not sure if it is right forum for this as it is related to JSF with websphere. However, if someone can help, will be a great help for me.

I have been calling delegate method in EJB from JSF page which executes a SQL. The executes for long time and finally it returns the following error in the log.

I am using hibernate 3 and EJB 2.0, JSF 1.1, websphere 6.1
As per the log the query was executed correctly as I see the result size in the log. However, it also complains for memory. Is there any way to increase the heap memory or is there any way to fix it. Please help.
   1. [9/6/11 20:48:42:554 IST] 0000001a ThreadMonitor W   WSVR0605W: Thread "WebContainer : 0" (0000001d) has been active for 700702 milliseconds and may be hung.  There is/are 1 thread(s) in total in the server that may be hung.  
   2. [9/6/11 20:58:37:112 IST] 0000001d PNAdminActivi I   List of Users and the products subscribed for PN- result size: 47182  
   3. [9/6/11 21:04:15:516 IST] 00000033 SystemErr     R Exception in thread "LT=0:P=342553:O=0:port=9101"   
   4. java.lang.OutOfMemoryError  
   5. [9/6/11 21:04:16:422 IST] 00000033 SystemErr     R  at java.net.PlainSocketImpl.socketAccept(Native Method)  
   6. [9/6/11 21:04:16:422 IST] 00000033 SystemErr     R  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:423)  
   7. [9/6/11 21:04:16:422 IST] 00000033 SystemErr     R  at java.net.ServerSocket.implAccept(ServerSocket.java:462)  
   8. [9/6/11 21:04:16:422 IST] 00000033 SystemErr     R  at java.net.ServerSocket.accept(ServerSocket.java:433)  
   9. [9/6/11 21:04:16:422 IST] 00000033 SystemErr     R  at com.ibm.rmi.transport.ListenerThread.run(ListenerThread.java:177)  
  10. [9/6/11 21:04:16:641 IST] 0000001d PNAdminDelega E   PNAdmin-J2EE-delegate :7d5c593ecc9727d3d589678a341f2f6d|j2eeTraceID|ERROR : RemoteException in getUserWithPNProduct4Export()RemoteException occurred in server thread; nested exception is:   
  11.     java.rmi.RemoteException: CORBA NO_MEMORY 0x4942f981 No; nested exception is:   
  12.     org.omg.CORBA.NO_MEMORY: Unable to read value from underlying bridge : null  vmcid: IBM  minor code: 981  completed: No     <br><br>  
  13.   
  14.   
  15. [9/6/11 21:04:16:703 IST] 0000001d ThreadMonitor W   WSVR0606W: Thread "WebContainer : 0" (0000001d) was previously reported to be hung but has completed.  It was active for approximately 1634851 milliseconds.  There is/are 0 thread(s) in total in the server that still may be hung.  
Thank you for any help on this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2011
Added on Sep 6 2011
6 comments
1,683 views