Servoy 5 high usage of resources/memory?

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Servoy 5 high usage of resources/memory?

Postby Harjo » Fri Nov 20, 2009 9:00 pm

Hi,

anyone noticing that Servoy 5 is using much more resources than Servoy4? I mean specially memory?
In Servoy4.1.4 my memory (which eclipse says) never goes beyond the 150MB max.

With Servoy 5 and the same solution, we have seen sometimes 300-400MB

Is this normal/expected?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 5 high usage of resources/memory?

Postby Jan Aleman » Fri Nov 20, 2009 9:14 pm

So are you talking about Developer (which is mainly Eclipse), about Server, about Web-Client or about Smart Client?
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Re: Servoy 5 high usage of resources/memory?

Postby Harjo » Fri Nov 20, 2009 10:40 pm

Yes, i'm talking about using the eclipse developer & using debug client.
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 5 high usage of resources/memory?

Postby Jan Aleman » Sat Nov 21, 2009 3:47 pm

Perhaps some beans you installed? Like a native browser?

With a default 5 and an app open in Debug Smart Client I get this:
Attachments
Screen shot 2009-11-21 at 2.46.17 PM.png
Not a lot of mem me thinks
Screen shot 2009-11-21 at 2.46.17 PM.png (4.43 KiB) Viewed 4758 times
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Re: Servoy 5 high usage of resources/memory?

Postby Harjo » Sat Nov 21, 2009 4:07 pm

No I have not installed the the browsersuite.

the importants one's, are some it2be (free) plugins, calendarbean, tablebean (drmaison)
but the beans/plugins are exact the same as in Servoy 4.1.4

in my case I start also start with about 75MB,
In Servoy 4.1.4 just developing/working in developer and testing debug client, memory is never higher than about 150MB
In Servoy 5 just developing/working in developer and testing debug client, memory will go to 300-400MB after a while

Maybe it's something in Eclipse, I don't know, that's why I asked if somebody else is seeing this.

(not by only opening and testing a debug client once. It rices only after a few hours of work in developer 5)
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Servoy 5 high usage of resources/memory?

Postby ptalbot » Sat Nov 21, 2009 10:23 pm

Harjo wrote:No I have not installed the the browsersuite.

Even if you did, the amount of memory it takes is not much than any regular beans/plugins.
Most of the memory consumption is in a Native (out of Servoy) process.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy 5 high usage of resources/memory?

Postby jcompagner » Mon Nov 23, 2009 2:46 pm

and what happens if you press the trashcan symbol from jan's picture? (run garbage collector)

where does it jump back to?

I dont think 5 should eat much more memory then 4, maybe we cache for performance reasons some more but that cant be much more.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 13 guests