www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/14/14:19:04

From: Vinzent Hoefler <JeLlyFish DOT software AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fragmetation of memory
Date: Fri, 14 Apr 2000 20:02:36 +0200
Organization: JeLlyFish software
Lines: 36
Message-ID: <8d7mge$gkg$1@news01.btx.dtag.de>
References: <200004140733 DOT JAA14544 AT krt DOT tmd DOT ns DOT ac DOT yu>
Mime-Version: 1.0
X-Trace: news01.btx.dtag.de 955735373 17040 777000109768-0001 000414 18:02:54
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 777000109768-0001 AT t-dialin DOT net
X-Newsreader: Forte Agent 1.7/16.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

tmaruna AT krt DOT tmd DOT ns DOT ac DOT yu (tmaruna) wrote:

>Total size of datafiles is about 1 GB.
                                  ^^^^
                 *AARGH*   Are you kidding?

>Data in datafiles are not packed and stored with all information (no striped info).
>On my hard disk there are 2 partitions with about 800 MB free space. Most of data
>I load with load_datafile_object or load_datafile_... from datafile
>(datafilename#objectname).

Even if your DPMI server _could_ make use of the whole 800MB of one
partition (usually there's a limit of 256 or 512 MB, I don't know
exactly of the actual limit of CWSDPMI) it still is probably not
enough to load all the data to (virtual) memory.

>Very soon after start program I stay with no memory (some __go_32 function for
>memory status) and my program freeze.

No wonder.

>Is this something about fragmetation of memory and what i can do.

(1) Use less memory. Don't load the data all at once. Load what you
need and destroy it when you don't need it.

(2) upgrade the RAM of your machine to 1 or 2 GB.

I would recommend the first method. :-)


Vinzent.

-- 
When you try to make an impression, the chances
are that is the impression you will make.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019