| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | 230meg Limit under OS/2? |
PF> The 512mb is an address limitation, so that thunking PF> to 16:16 can be done with an easy/quick bit adjustment. Right. Whether you set OBJ_TILE or not, it always returns a tiled object (DosAllocMem). I asked OS/2 SMP Beta with "high memory" support option and it gave me 2gig without a hitch. Its aparently only for backwards compatibility. PF> So the answer is yes: the amount of shared code & data PF> eats away at your useable address space. PF> On my machine, I was able to allocate up to 232650000 PF> bytes before I got an error 8. Why so much overhead? Plus I thought it was "per process" and assumed that the rest of OS/2 lived above the 512 limit. Or is the address space populated with that much of the OS itself? PF> I assume you are allocating such a large object with PF> the plans to not-commit it all (ie: a sparse object). Yes and no. The application runs on a 128meg machine, and on occasion will allocate huge array's (during low load times) for work.... I was doing the "easy" way out first. PF> I suggest you let C++ do it for you (create a class PF> that looks like a memory pointer but really does file PF> i/o), or use Windows NT instead. Why would I want to switch to NT? I'm kinda surprised to hear you say that. --- Maximus/2 2.02* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347) SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 109/347 18 13/25 396/1 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.