outOfMemory error

steve kirby <[email protected]> Wed, 6 Sep 2006 16:39:17 -0700
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Hi,

  I am putting  a dataset into a java space.  The dataset is fairly hefty - I had to split it first in order to make each piece a size that it would allow me to write it to the java space.

  On a client, I have notify running, so when it sees this type of dataset arrive into the space, it does a take and then  unmarshals the byte[] array portion of the entry and writes the data to a file.

  Works fine for the smaller 1-d, 2-d datasets I've done.  But for the larger 3d dataset, I'm getting:

  =========================================
  Partial unmarshalling failure
arry field could not be unmarshalled because of:
java.lang.OutOfMemoryError: Java heap space
  =========================================

  So, this may be a Unix question more than anything else, i.e., how do I up my heap space, assuming it isn't already maxed out?

  TIA,
  Steve


---------------------------------
Get your email and more, right on the  new Yahoo.com

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html