newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: dikiyvolk on November 07, 2011, 03:34:44 AM

Title: windows OS, ERR: not enough memory
Post by: dikiyvolk on November 07, 2011, 03:34:44 AM
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
Title: Re: windows OS, ERR: not enough memory
Post by: TedWalther on November 07, 2011, 01:02:12 PM
Having "mmap" would be really nice in a scenario like this.
Title: Re: windows OS, ERR: not enough memory
Post by: dikiyvolk on November 08, 2011, 06:30:50 AM
Quote from: "TedWalther"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.