[Bug 1406] - 16-BIT VB 3.0 APP -- "NOT ENOUGH SPACE FOR ENVIROMENT"

wine-bugs at winehq.com wine-bugs at winehq.com
Tue Apr 22 21:40:26 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1406





------- Additional Comments From marc_lavergne at yahoo.com  2003-04-22 21:40 -------
I did some more digging, it appears that the local heap is hitting the 64K
barrier on an attempt to grow it. The application actually fails in GrowHeap
around line 500 where the check to see if oldheap > 0xfff0 eval to true and a
FALSE gets returned. The error just bubbles up from the call to GrowHeap in
GetBlock. All the heap pointers and size values seem normal, so it's really
running out of space. Fair enough, so the question becomes WHY is the heap NOT
being exceeded in native Win98 but IS being exceeded in WINE. It only makes
sense that some cleanup of the heap happens under native Win that is not
happening under WINE. I'm a little at a loss from that point though. I assume a
heap walker like program would be helpful.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1406>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list