Page 1 of 1

Memory use

Posted: Wed Dec 06, 2006 11:18 pm
by Klaas den Dekker
When I start my application the memory used by this proces often increases to > 200.000 KB. After this peak the memory used is approx 20.000 KB. Is there a way to limit the maximum memory used (at startup) ?

Best regards,
Klaas den Dekker

Posted: Tue Dec 12, 2006 12:05 am
by Antonio Linares
Klaas,

Harbour allocates memory for the virtual machine stack, and different subsystems. Why do you need to reduce that memory amount ?

These days those memory values are quite low.

Posted: Wed Dec 13, 2006 8:45 pm
by Klaas den Dekker
Thanks Antonio for your answer.
One of my client works in a MS Terminal Server situation with a FiveWin + xHarbour + ADS program.
At the beginning of the day 100+ (approx 09:00 hours) users start the program.
Only than problems can occur because of the memory use.
I thought of eliminating the problem by reducing the amount of memory the program is using.

Best regards,
Klaas den Dekker

Posted: Wed Dec 13, 2006 9:49 pm
by Antonio Linares
Klaas,

> Only than problems can occur because of the memory use.

What problems are ?

Posted: Wed Dec 13, 2006 9:57 pm
by Klaas den Dekker
Hi Antonio,

The server becomes very, very slow.
Users think that the program does not start and start the program for the second time; this increases the problem.

Regards,
Klaas den Dekker