Dear Leigh - there's a parameter "Memory Limit" settable via "Edit/Configure/Parameters" - it has a maximum allowable value of 2^30 (about 1 GB); I don't know the foreign code for setting this directly.
Also, you can check the size of arrays using "7!:5", e.g. aa=: 1p1+?1e3$1e8 NB. Floating point 7!:5 <'aa' 8192 aa=: ?1e3$1e8 NB. Integer 7!:5 <'aa' 4096 aa=: _100<\aa NB. Boxed integer vecs 7!:5 <'aa' 5248 aa=: 1p1+&.>aa NB. Boxed float vecs 7!:5 <'aa' 10368 Hope this helps, Devon On Mon, Oct 6, 2008 at 1:22 PM, Leigh J. Halliwell <[EMAIL PROTECTED]>wrote: > Dear J Forum: > > A certain program of mine sometimes halts with an "out of memory" error. > Is > this workspace memory, and can it be increased? Are there ways/tricks for > efficient memory usage? For example, one large array in my program > contains > boxed floating numbers, but boxed integers would suffice. Might this help > me to avoid this error? > > Can you direct me to WIKI pages on this subject? Thank you. > > Sincerely, > > Leigh > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
