the memory consumption is still increasing...

Moderator: Rathinagiri

Post Reply
jpp
Posts: 34
Joined: Thu Jan 16, 2014 3:04 pm

the memory consumption is still increasing...

Post by jpp »

Hi to all,

I'm allways in trouble with memory consumption when using grids.
I've made an app and after one day of using it i've seen that the memory used was about 200 Mo, instead of 5 Mo a the start.

thinking it comes from my app, i've made the same test with grid02 sample from hmg3.2.
At the start the memory is about 5Mo. after scrolling the grid 10 times with pgup and pgdn the memoty is about 10Mo and this increase has no limit until the app hangs.

I've tried with wp, win7, Win8 and the result is the same...

What makes me in trouble is that if you iconise the app the memory falls to less than 1Mo, if you call it back memory is about 2Mo ( twice less than the start of the program )

if tried to call the harbour memory garbage collector but no effect...

have you a workaround to make hmg app's more 'memory reliable' ?

thanks
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: the memory consumption is still increasing...

Post by Rathinagiri »

Are you using virtual grid or normal grid?

Try to use virtual grid.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
meneale
Posts: 51
Joined: Sat Jan 12, 2013 2:05 am
Location: Campinas -SP, Brasil

Re: the memory consumption is still increasing...

Post by meneale »

I've have the problem with memory consumption too, but with timer, is consumed 50~150 KB of memory every time that timer interval is reached and a function is called.
In first instance i thought that function stock the variables, but it used only LOCAL variables, and without using variables this still occurs.
And in everytime the program is running 5 hours consecutives it stop running itself.
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
jpp
Posts: 34
Joined: Thu Jan 16, 2014 3:04 pm

Re: the memory consumption is still increasing...

Post by jpp »

hi,

The problem is the same with normal or virtual grid. Each time you press pgdn or pgup the memory consumption increase.

but what makes me in trouble is the fact that if you minimise the app and maximise it the memory falls down less than at the start of the program....

As i have no answer about it, i wonder how people who are using grids with intensive usage have no memory problem !!!
Post Reply