home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7407 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.5 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!coombs!mark
  2. From: mark@coombs.anu.edu.au (Mark)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Error: Allocation to large in Perl for DOS -- bug?
  5. Date: 14 Dec 92 14:46:29 GMT
  6. Organization: Australian National University
  7. Lines: 30
  8. Message-ID: <mark.724344389@coombs>
  9. References: <1992Dec11.191756.16339@udel.edu>
  10. NNTP-Posting-Host: 150.203.76.2
  11. Organisation: Wassat?!
  12.  
  13. pyrros@braindamaged.cis.udel.edu (Christos T. Pyrros) writes:
  14.  
  15. >When running the program below, I'm getting the following error:
  16. >Allocation to large: 11fe6
  17.  
  18. >This error occurs on binary files that are over 200k or so.  The binary
  19. >files are AutoCAD Release 12 plot files for CalComp plotters.  Strangely,
  20. >this problem does NOT occur on AutoCAD Release 11 plot files, which are
  21. >slightly different.
  22.  
  23. [proggy deleted]
  24.  
  25. >I'm using DOS 5.0 (mem reports 565k avail), and perl for DOS:
  26. >Is this a bug?  Or am I doing something wrong?
  27.  
  28. It looks like you're running the perl.msdos distribution as opposed to the
  29. perl.386 one that is nice enough to use the whole {2,4,8} meg in your 
  30. machine. The perl.msdos is a nice perl, it just doesnt have the necessary
  31. memory additions to use more than the standard 640K...
  32.  
  33. In your situation it looks like it's reading in the whole file and then
  34. trying to work with it.
  35.  
  36. Unfortunately the perl.386 has problems with little things like changing 
  37. drives and the 'utime()' command... I use both, and Im very careful when
  38. programming for the perl.msdos version.. use temp files etc.
  39.  
  40. Now if someone would just merge the two..
  41.  
  42. Mark
  43.