The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
SLX 7.2 Memory Footprint
Posted: 13 May 08 12:12 PM
|
Hello everyone,
I have noticed that the SLX client takes of 71k or RAM when running the client on Windows 2003 Server and takes a whopping 146k when running on Windows XP . Now I'm not about to install Windows 2003 server for all users, but I sure would like to get a better understanding on why the usage is so much more on XP.
I'm using the same user on the same SLX database on both 2003 svr and XP. RAM measurement taken just after the avtivity reminders pop up.
Any thoughts on this are welcome.
Thank you, ...Rob
|
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 1:16 AM
|
I wish it were only 71k or 146k ! The reason it take 71Mb or 146Mb is down to the group handling - if the details are cached in RAM (for performance purposes) then you will see memory increase. If you have "old" style groups (where VSSC isn't being used) then you will see the larger amounts. Analyse your groups and ensure, where possible, VSSC is being used (see the Icon next to the group to tell you what mode you are in [see everyone, I told you this would be a good idea !])
But, at the end of the day - it's just occupying memory to work faster - better that than have a machine with 4Gb of RAM and not use it right ? Just look at what SQL Server and Exchange does with memory (where whopping is measured in 7xx Mb's !!) but I digress - windows memory management should ensure that the memory is freed if windows needs it. |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 8:03 AM
|
Hello Rob & Mike,
I believe (and you can correct me if I'm wrong), that VSSC does not support in-grid editing. For instance, I cannot update a value on a particular recordset in the grid. I remember their being one disadvantage for why it is not widely used in all the groups. |
|
|
| |
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 8:09 AM
|
I believe your right now that I thought about it some more, I do remember their being a single downside that the trainer meationed.... I'll have to dig through my notes since its been a few months since I attended the course. |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 8:45 AM
|
Thank you Mike for taking the time to reply.
I agree that groups can caused increased memory usages, but I don't see how that relates to my experience. I have a windows XP machine with 1GB of RAM and a Windows 2003 server machine with 4GB of RAM. When I launch the client on both machines connecting to the same database using the same username, loading the same default group, the SLX client on the XP machine eats up 146k and on the windows 2003 svr, it only uses 71k. The measurement on each machine is taken immediately after login to SLX when only the default account group is loaded.
I'm assuming this is the result of Windows 2003 svr being much more efficient at memory usage, but I would sure like to see the same result on XP.
|
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 8:55 AM
|
146k is nothing......if you meant 146Mb of RAM that's a horse of another color.
MS Word 2003 takes a ton of RAM to open......and MS Word 2007 is worse.
Fond memories of Volkswriter III running on a 640k 8 - 12 Mhz AT machine....circa 1987.
Just got a laptop with 4GB of RAM running XP PRO SP2.....works great, less filling.
My thoughts on this are: GET MORE RAM, Dual Processors, and a bigger faster hard drive. It's May 2008.
(And Mike's right, VSSC is a big reason for the difference in RAM usage between a Server run client and a desktop running client).
|
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 9:01 AM
|
thanks RJ - we went down the route of the difference between K and MB !
-- Rob, do you have (or have you changed) the setting DontCacheGroups - you will find it in the registry under HKCU\Software\SalesLogix - as this could explain it. |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 9:04 AM
|
Sorry, I do mean 146MB vs 71MB respectively.
Is VSSC something that would work on Windows 2003 svr and not Windows XP? My question is, why such a descrepancy when everything appears to be the same from the SLX point of view, just different OS's |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 10:30 AM
|
Mike,
I checked and do not have that setting in the registry on either system.
One difference I am aware of is that on windows 2003, I did a fresh install of the SLX 7.2.2 client, where on XP, I did an upgrade from 6.2.6 to 7.2.2. While I would be suprised if the issue is related to upgrading SLX vs fresh install, I am working on a fresh 7.2.2 client install on a fresh XP SP2 machine just to make sure.
I'll keep you posted.
Thanks again.
|
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 11:15 AM
|
vssc will work irrespective of platform - it's group derived (meaning, it will work based on the group) - you can tell if vssc is working - the icon top right, if you hover over it (next to the group name) - tells you what mode the group is in (client = slow, more memory, server = fast, less memory). |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 12:42 PM
|
Both systems show the default group loaded as being in Virtual Server mode.
I installed SLX 7.2.2 on a newly installed Windows XP system and here's what I know so far,
New system: Windows XP 2 SP 2, Installed SLX 7.2 client, then upgraded it to SLX 7.2 SP2 Old system: Windows XP 2 SP 2, Uninstalled SLX 6.2.6 client then installed SLX 7.2 client, and upgraded it to SLX 7.2 SP2
New system: At the login prompt, memory usage is 22MB - before clicking OK to login When initializing IO Manager memory jumps from 31MB to aprox 65MB Default group is in Virtual Server mode When SLX Client is started with the default group loaded, Saleslogix.exe it's using 90MB
Old system: At the login prompt, memory usage is 29MB - before clicking OK to login When initializing IO Manager memory jumps from 39MB to approx. 130MB Default group is in Virtual Server mode When SLX Client is started with the default group loaded, Saleslogix.exe it's using 180MB
I have tried copying the HKCU and HKLM Software\Saleslogix registry entries from the new system to the old system by deleting and importing them. This didn't make any difference.
I've started to peel away other applications installed on the old system that are not on the new "clean" system in hopes to find the culprit.
If you have any additional thoughts, I would appreciate the insight, but for now, I will continue to seek out the difference. I'm about to deploy 7.2 to my users and I'd rather not reinstall the OS.
Thank you all for your replies thus far.
|
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 1:31 PM
|
Very Interesting, My antivirus software appears to increasing the memory footprint by nearly 80%. This doesn't explain the entire descrepancy, but certainly explains most of it.
On the old system memory usage for the SLX client was 180MB with AV installed, compared to 102MB after uninstalling AV software.
I'm going to try another brand of AV software to see if it has a similar impact on SLX.
|
|
|
| |
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 3:14 PM
|
McAfee 8.0i was causing the trouble. I removed it and installed Kaspersky and all is better. Fortunately, we are only days away from upgrading the entire office to Kaspersky, so this should be resolved before the final rollout of SLX 7.2
If anyone has any theories as to why McAfee is causing this increased memory footprint, I'd sure love to hear them.
Thanks again for taking the time to engage this issue. |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 3:28 PM
|
No idea ! But, if you are going to KAV - make sure you use 7.0.0.125 (not 7.0.0.325) if you are using Personal version (325 slows machine down to a crawl). 6.0 is fine (for OpenSpace etc). I really like KAV - works v.well (except 325 - don't know what happened there !!) |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 3:37 PM
|
KAV 6.0 it is, so no worries - hopfully.
Have you found a way to exclude the SLX program and cache directores in KAV? I took a quick look, but didn't find any such settings. |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 3:37 PM
|
KAV 6.0 it is, so no worries - hopfully.
Have you found a way to exclude the SLX program and cache directores in KAV? I took a quick look, but didn't find any such settings. |
|
|
| |
|
Re: SLX 7.2 Memory Footprint
Posted: 14 May 08 3:40 PM
|
Yes, you can - it's a system setting (admin controlled) - just add it the Trusted Zone - it'll then go out. You can also exclude apps or dirs (VMware is a good one to exclude too). |
|
|
|
Re: SLX 7.2 Memory Footprint
Posted: 15 May 08 7:55 AM
|
You can also exclude directories or apps from McAfee 8.0i. McAfee has 8.5i out, not sure if its better at controlling the footprint but if you have an active agreement with them, you should be able to get it for free. Also with the active support agreement, you can downgrade to 7.0 which works better for slower systems as it does not have as much overhead. Likewise it could be used on a faster system to prevent McAfee from producing too much overhead. |
|
|
|