Page 1 of 1

windows OS, ERR: not enough memory

Posted: Mon Nov 07, 2011 11:34 am
by dikiyvolk
Hi to everybody,

I am newbie about newlisp, but I tryed it in OSX Lion. The software is very simple, I load a large file 1,29GB and after I sort it. In OSX it works, but when I tryed it in windows 7 OS 64 bit, I have this error during file load operation:

ERR: not enough memory

I suppose there is a memory configuration, but I do not find it. The source code is very simple and it is:

(println "Lettura: " (time (set 'data (parse (read-file "NoteTrim.txt") "\n" 0))) " ms")
(println "Sort: " (time (sort data)) " ms")

(exit)

Walter

Re: windows OS, ERR: not enough memory

Posted: Mon Nov 07, 2011 9:02 pm
by TedWalther
Having "mmap" would be really nice in a scenario like this.

Re: windows OS, ERR: not enough memory

Posted: Tue Nov 08, 2011 2:30 pm
by dikiyvolk
TedWalther wrote:Having "mmap" would be really nice in a scenario like this.
Oh yes.

I used mmap in C code and it works great. I was only curious to discover if it is possible compare results between a unix like S.O. and winzot (windows plus BC comics "ZOT") :)
By the way newLISP spent to read 1.29 GB 4.66 sec. and to sort 1,7 sec.

I used LISP with autocad 16 years ago. Some days ago a friend of mine told me about newLISP so I tryed and it was a great experience. Unfortunately I cannot use it in my office :( and nights are too short.