Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Out of resources in W98

0 views
Skip to first unread message

marcelino varas

unread,
Nov 29, 2001, 11:01:28 AM11/29/01
to

Hi:

We have a complete system that run with NT and MSACCES wonderful. But when we have installed the system in W98 and worked a while, we have the error "Out of resources". What can be different ? there are in this case known errors ? what is recommended ? We have to compile the system in W98 ? or there is another posible solution ? All our objects are already freed. Can be the hardware ?

Thanks.

Saputra, Erwien

unread,
Nov 29, 2001, 11:41:52 AM11/29/01
to
Win9X is known for its limitation in resources, unlike NT. NT/2000 has
virtually unlimited resources. There are couple of things that came to
my mind.

1. Don't use auto-create form. Create and release form on the fly.
2. Just right after you reboot the computer, righht-click on my
computer and click properties. It should show you how much resources
available in percent. If this too low, you have a lot of apps running
at startup.
3. Look at Win98 startup menu, delete unecessary items. Also look at
Registry for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
delete unecessary item there. I am not sure how familiar are you with
registry, if you are not, back it up first.

Usually number 1 is the case, limit the created form at run-time.

Wien.

Peter Below (TeamB)

unread,
Nov 29, 2001, 1:53:10 PM11/29/01
to
In article <3c065bd8$1_1@dnews>, Marcelino varas wrote:
>
> We have a complete system that run with NT and MSACCES wonderful. But
> when we have installed the system in W98 and worked a while, we have
> the error "Out of resources". What can be different ?

The OS, of course. Win9x is 16 bit at the core and has limits in
certain areas as a consequence. NT does not have these limits.
Run the Resource monitor together with your apps and watch the
resource usage. If it goes up and up and never goes down again
while working in your app your have a resource leak somewhere, or the
application is simply poorly designed to survive in an environment with
a limited pool of resources like window and bitmap handles. If you have
many form which are all autocreated and never truely destroyed before the
app closes you will have such an application, for instance. A form
creates all its Window handles (for itself an all controls on it) when
it is first shown but never lets go of the handles again until it is
destroyed. And when you close an autocreated form it is only hidden, not
destroyed, so you can directly show it again if needed.

Peter Below (TeamB) 10011...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.

Stephen Ahn

unread,
Nov 29, 2001, 8:55:20 PM11/29/01
to

Yes, this is a known issue.
Are you using runtime packages ? If not, try compiling your
program with the "build with runtime packages" option.
For starters, put in Delphi's packages, like VCL*.bpl, and
see if that is enough to get you running on Win 9x.
You might also like to put your own code in packages.

HTH,
Stephen

"marcelino varas" <vr...@mediatechnic.de> wrote in message
news:3c065bd8$1_1@dnews...

0 new messages