Mem Usage? Thread last updated on 2006-02-23 21:06:11

Posted by member 206411 on 2006-02-09 05:07:17

I noticed some themes take two, three times the amount of others.. so I was just wondering.

Posted by member 212670 on 2006-02-09 05:29:35 link

About 14 megs. But, my theme gains about a meg per recycle, due to some kind of memory leak (thinking it's because of my overlay icons - I've seen mention of those causing problems). I never need to recycle, except when building, so no big deal.

Posted by member 206411 on 2006-02-09 05:35:56 link

i know, after a few recycle i go up to about 35k.. so that's why i said initially..

Is there any way to fix that? I have an independent hotkey program that i made for my self running in the background so I don't use recycle.. but it's still sort of annoying

Posted by member 1885 on 2006-02-09 08:03:45 link

popsicle initially uses around 16-17MB, but like xcal I have that extracted icon issue which causes mem usage to rise dramatically. When working on the theme and recycling a lot, LS sometimes uses up to 150-200MB(!) of RAM. For normal use I don't recycle often though, so it's not a huge problem.

Posted by member 37809 on 2006-02-09 10:57:50 link

Note that if you have set LSUseSystemDDE true, there's a significant overhead regardless of theme.

Posted by member 1949 on 2006-02-09 11:07:21 link

Ever notice how xpopup cranks your mem up when you open folders?
Open Task manager and then recycle and open xpopup and goto programs.
My mem jumps up 2mb.

It would be nice if the core had a function to clear mem leaks on a given time frame. Like 2hrs?
Or how about a module that uses the recycle bang to flush memory clean instead of building up leak on recycles.

I guess there are ways around this also.
Kill LS and restart.
But wouldnt it be nice to have another recyle hotkey to kill ls and restart in the core?

Posted by member 99 on 2006-02-09 17:14:13 link

Memory leaks result in memory that the process has lost track of. By definition, there is no way for the process itself to clear them, nor is it practical for the system to do so as long as the process is running. (Usually leaked memory will eventually get pushed into the page file though.)

And I don't think there's a way to tell Windows to restart a process after its next exit... maybe though, especially for the shell.

Posted by member 1949 on 2006-02-11 10:36:12 link

Something like shellon that responds to recyle and gives LS the go to restart.

Maybe a new shellon rewrite that runs along side of the new core?

2 birds with one stone...
Also adds restarting LS on a crash... would be nice

Posted by member 206411 on 2006-02-12 05:02:13 link

wow... the mem usages are so spread out.. Well.. it's sorta obvious because everyone is using diff themes/mods but I'm still suprised.

Just wondering, who has a theme that runs under 7k? I would be intrested in a theme that can run that low...

Posted by member 37809 on 2006-02-12 14:53:02 link

Ryuho: is 7MB what you got for without any modules loaded?
Estimating mem usage doesn't have too much meaning unless you compare it to other similar apps...

Posted by member 206411 on 2006-02-14 13:24:55 link

ummm no i haven't tested listep without any modules. actually, my friend, TDRKZ, was intrested in liestep partly because litestep could run lower than explorer shell. so that's why i was wondering

Posted by member 1 on 2006-02-14 13:32:31 link

ermm...Currently I'm in explorer because of some hardware problems and its holding steady around 27M. How did you get explorer to 7M?

Posted by member 206411 on 2006-02-14 19:57:53 link

seriously.. it was 7mb. TDRKZ have a theory on that.. ill get him to post on this thread

Posted by member 31 on 2006-02-15 09:43:49 link

Depends on what version of Windows, and if you have seperated the Desktop process from the Explorer process and what Explorer addons you have (unknowingly) installed. Currently the task manager is saying Mem: 3,192KB VM: 4,664KB under Explorer for me.

Switching over to LS it says Mem: 1,788KB VM: 3,364KB. But then I don't use any images in my theme, or any of the typical bloated modules that most people use. (Switching over to a theme like Obsidian, jumps mem usage up to ~12MB). So, it really just depends on your configuration of course, both under LS and Explorer.

Not that the taskmanager reporting is accurate anyway...

Posted by member 206411 on 2006-02-15 21:00:58 link

Hm..

"and if you have seperated the Desktop process from the Explorer process and what Explorer addons you have (unknowingly) installed.

how would you do this??

and Can I see what modules you used to get 1.7k mem process?


I did not know that Task Manager is not that accurate...

Posted by member 1 on 2006-02-16 03:10:48 link

You can use Process Explorer to see them very clearly.

Posted by member 37809 on 2006-02-16 11:36:10 link

taskmgr and procexp report the same high numbers for me.
i'm under the impression that the numbers you see for a given process include all of an app's references to dlls; this would be the minimum it would use if it were the only process running (which is similar to what ps in *n?x does, i believe).

lazy searching got me no explanation of how this number is calculated. i did observe years ago that winxp's taskmgr reports higher numbers than win2k, but it must be that this calculation is very complex if no one ever tries to explain in detail how it's derived.

that said, jugg's explanation sounds good to me :)

Posted by member 248213 on 2006-02-17 01:54:04 link

lots of over 20's :o
me: 10mb :D

Posted by member 206411 on 2006-02-17 02:07:57 link

ya i know.. all of those must be graphic intensive or something...

Posted by member 12025 on 2006-02-19 06:42:15 link

Feature test: under 5MB (typically under 3MB)

Full test: 7-10MB (never hits 10 except when I do bad things to Lua :)), but currently it has no 32-bit PNGs, which would make it start eating up ~20MB or so.

Actual use theme (lean Hymn 43 2.x): about 5MB.

Posted by member 31 on 2006-02-22 04:59:47 link

Omar's installer separates the desktop process when switching to litestep, but reverts when switching to explorer. See any manual install text for the relevant registry setting.

The modules I use:
tasks.dll custom build
systray.dll custom build
label.dll 1.62
jdesk.dll custom build
jkey.dll custom build
popup.dll r9 based custom build
lsxcommand.dll 1.9.4
bangvwm.dll 0.41
netloadmodule.dll 2.5.0

Posted by member 93947 on 2006-02-23 21:06:11 link

well ,lets say it uses 1.5% of my ram ... thats 16mb