Hi - The JVM is only allocated a small amount of memory at start up. To get more you typically use the -Xmx option. Something like java -Xmx500m will give the JVM 500meg of memory.
The exact syntax may differ between JVMs, see your JVMs documentation for the exact syntax. - Mark > -----Original Message----- > From: troy [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 22 June 2002 3:30 a.m. > To: [EMAIL PROTECTED] > Subject: [Biojava-l] SymbolList > > > I'm developing a software using BioJava. Now I need to create > a SymbolList > with a really long sequence, and I uses: > ************** > SymbolList sbl = new SimpleSymbolList(dnaToke, ls); > > ************** > 'ls' is a string of 10000000(10 millions) symbols, then I got > an 'OutOfMemory' > exception. Is this a problem with BioJava? How can I get > around with that? Any > advice is greatly appreciated. > > Cheers > > Angie > > _______________________________________________ > Biojava-l mailing list - [EMAIL PROTECTED] > http://biojava.org/mailman/listinfo/biojava-l > ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ======================================================================= _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l
