PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV (earlier versions) → classes \ performance loss (W7.5)
classes \ performance loss (W7.5)
Started by Wim Nihoul, Nov., 02 2005 2:30 PM - No answer
Posted on November, 02 2005 - 2:30 PM
Hi,
After transforming our application from 5.5 to 7.5 and installing the new version at our customers we have had complaints about bad performance.
There are several causes to this. (e.g. we have now omitted some slow hyperfile functions like Hsaveposition,Hrestoreposition, Hfilter...)
But a specific complaint about the bad performance was that during the day, the performance got worse. It seems now to be the case that windev7.5 treats the declaration and destruction of objects of classes differently as windev5.5.
For example, if you declare a class object in the opening section of a window, e.g.: OBJ1 is CLASSE1, it seems that when the window is closed, the memory that was reserved for the members of OBJ1 has not been 'cleared'. So after a while, there is a serious drop in system resources and consequently the performance gets worse. (in windev5.5 we did not seem to have this behavior)
Has anyone experienced something similar?
I haven' tried yet to explicitly call the class-destructor. Could that help?
Any suggestion is welcome!
Wim