Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Too many windows
Message
From
12/06/2018 12:45:02
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
11/06/2018 11:50:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 10
Miscellaneous
Thread ID:
01660684
Message ID:
01660694
Views:
103
>>Hi all
>>
>>I just started on a VFP 6 project and we're occasionally seeing the error message "Too Many Windows Open". I've never seen it before, and haven't used VFP 6 in a very long time. The wiki says this is an untrappable error. Error 1116.
>>
>>What kind of windows can these be? I've run test cases where we instantiate 1000 form objects without trouble. Is there a setting that can increase the limit?
>>
>>Thanks
>>
>>Mike
>
>Perhaps a memory leak? Perhaps SYS(3050) to explicitly set memory buffer size might help? IIRC the memory management in the runtime gets sloppy when 2GB (or more) RAM is present.

You're right the mem mgmt gets sloppy, but we tried and it made no difference:
SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0))))
SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0))))

and even cutting it down by 2 and then by 4 and no difference. It's only happening on one of the VMs. So comparing the VM settings on that is next.

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform