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