Re: Help: UnmarshalException running Jini
SamsonLim <[email protected]> Sun, 13 Apr 2008 19:57:27 -0700
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Yes I can change the code and I'll try put an exception block on the method. I think I've pseudo-fixed the problem by serializing some other classes which I didn't earlier because it didn't seem like I needed to. However, I still occasionally see the same error posted earlier. Another question if I may. I keep getting a java.lang.OutofMemory error when I attempt to run large number of tasks, which isn't actually that large considering I'm running them on a 64-node dual processor cluster with 4GB mem each (max heap size is set to over 3GB). The mem and load monitor on the cluster didn't show any signs of heavy utilization either. Hence, the question is if there is actually a prescribed memory limit on a JavaSpace when one creates it? My main Javaspace is created on an independent node with 4GB mem and barely use 15% mem when the error occurs. Thx. Gregg Wonderly-2 wrote: > > SamsonLim wrote: >> Apart from a few primitive types, I have a Vector in the Entry which >> holds >> String[]. I do run JDBC heavily in the tasks assigned for the entries. >> The >> error seems to happen only when the number of RMI calls gets large. Will >> using Externalization on certain classes help? I read on another forum >> someone recommending doing a server-side tracing using: >> java.rmi.server.logCalls >> sun.rmi.server.exceptionTrace >> sun.rmi.transport.logLevel >> sun.rmi.transport.tcp.logLevel >> >> Will this help? Thx. > > It might expose the reason. If you can change the code and you know which > method on the server this is happening in, you can put an exception block > around > the actions in that method on the server and log and rethrow any of the > declared > exception and RuntimeException. > > Gregg Wonderly > > -------------------------------------------------------------------------- > Getting Started: http://www.jini.org/wiki/Category:Getting_Started > Community Web Site: http://jini.org > jini-users Archive: http://archives.java.sun.com/archives/jini-users.html > Unsubscribing: email "signoff JINI-USERS" to [email protected] > > -- View this message in context: http://www.nabble.com/Help%3A-UnmarshalException-running-Jini-tp16625246p16670459.html Sent from the Sun - Jini-Users mailing list archive at Nabble.com. -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]