Exchange 2013 Memory usage very low
Hi,
we have 4 Servers, 2 Mailbox Servers and 2 Database SErvers with DAG deployed on Exchange 2013 CU5.
We have about 420 GB in one database.
The Server has 40 GB Memory assigned (Windows VM), but only using about 12 GB of Memory.
Depending on this guide, this makes sense:
http://blogs.technet.com/b/samdrey/archive/2014/02/03/exchange-2013-memory-ram-allocation-by-the-store-with-an-example.aspx
But, as this is only a database server with no other services on it, how can i increase the memory consumed by Exchange?
User are reporting of slow Outlook Clients.
Are the Outlook clients in online mode?
This may help: ( see the solution)
http://social.technet.microsoft.com/Forums/en-US/a07b9269-be9f-4337-a394-9faf532d38f8/exchange-2013-online-mode-slow-performance?forum=exchangesvradmin
http://social.technet.microsoft.com/Forums/office/en-US/0d45b1b0-3047-4666-ad04-217e98ed8823/slow-online-mode-browsing?forum=exchangesvrclients
Also, you may want to apply this hotfix to the servers:
http://support2.microsoft.com/kb/2985459
The W3wp.exe process has high CPU usage when you run PowerShell commands for Exchange
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.
Similar Messages
-
IPad 2 freezes, RAM memory gets very low
My iPad 2 WiFi (ios 7.02) will often freeze when memory gets very low. A memory manager shows the RAM gets as low as 20mb. It was doing this before upgrading to ios 7. It is even worse now. No apps are set to refresh in background.
You cannot be certain at all that the freeze is memory related, otherwise it would be happening on all iPads.
Try a reset first: Press and hold both Sleep/Wake and Home buttons until the Apple logo appears.
If the reset doesn't fix it, try a restore:
http://support.apple.com/kb/HT1414 -
Large Mail.que database in Exchange 2013
[Background]
Since Exchange 2013 is released, some user may come across the following situations:
The space of disk C is used up.
The transport service stops processing messages.
The Mailbox server is crash.
In this case, the issue can be resolved with checking with the mail.que file which is in the following path on the Mailbox server:
C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue
[Symptom]
The Mail.que file on all Exchange 2013 servers grows very large and it’s even over 20 GB.
[Cause]
It’s a by design behavior.
Different from the previous Exchange server, Safety Net which has the same function with the Transport dumpster in Exchange 2013 takes up the volume of the mail.que file and
it’s the feature which is responsible for the large size of the mail.que in Exchange 2013.
And here is a reference about the feature Safety Net in Exchange 2013:
http://technet.microsoft.com/en-us/library/jj657495(v=exchg.150).aspx
[Workarounds]
1. Allocate large space for the Exchange 2013 installation or increase the volume for Exchange 2013.
These articles will also provide further detail of size calculating:
http://blogs.technet.com/b/exchange/archive/2013/05/14/released-exchange-2013-server-role-requirements-calculator.aspx
http://blogs.technet.com/b/exchange/archive/2013/05/06/ask-the-perf-guy-sizing-exchange-2013-deployments.aspx
(See section: “Transport storage requirements”)
2. Moved queue database to another drive by using
Move-DatabasePath
3. Reduce the SafetyNetHoldTime and MessageExpirationTimeouton values to one day (default values are 2 days). And these commands can be in use:
Set-TransportConfig SafetyNetHoldTime 1.00:00:00
Get-TransportService | Set-TransportService -MessageExpirationTimeout 1.00:00:00
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.[Background]
Since Exchange 2013 is released, some user may come across the following situations:
The space of disk C is used up.
The transport service stops processing messages.
The Mailbox server is crash.
In this case, the issue can be resolved with checking with the mail.que file which is in the following path on the Mailbox server:
C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue
[Symptom]
The Mail.que file on all Exchange 2013 servers grows very large and it’s even over 20 GB.
[Cause]
It’s a by design behavior.
Different from the previous Exchange server, Safety Net which has the same function with the Transport dumpster in Exchange 2013 takes up the volume of the mail.que file and
it’s the feature which is responsible for the large size of the mail.que in Exchange 2013.
And here is a reference about the feature Safety Net in Exchange 2013:
http://technet.microsoft.com/en-us/library/jj657495(v=exchg.150).aspx
[Workarounds]
1. Allocate large space for the Exchange 2013 installation or increase the volume for Exchange 2013.
These articles will also provide further detail of size calculating:
http://blogs.technet.com/b/exchange/archive/2013/05/14/released-exchange-2013-server-role-requirements-calculator.aspx
http://blogs.technet.com/b/exchange/archive/2013/05/06/ask-the-perf-guy-sizing-exchange-2013-deployments.aspx
(See section: “Transport storage requirements”)
2. Moved queue database to another drive by using
Move-DatabasePath
3. Reduce the SafetyNetHoldTime and MessageExpirationTimeouton values to one day (default values are 2 days). And these commands can be in use:
Set-TransportConfig SafetyNetHoldTime 1.00:00:00
Get-TransportService | Set-TransportService -MessageExpirationTimeout 1.00:00:00
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.
You cant move the queue database with move-databasepath. You have to follow this method:
http://technet.microsoft.com/en-us/library/bb125177(v=exchg.150).aspx
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied. -
VMWare ESX 4.1 - Guest memory usage
Hi,
We are running an ESX Server 4.1 with 36 GB RAM. We have installed 4 VM (Windows Server 2008 R2 and MS SQL Server 2008 R2), each defined with 8 GB RAM (1 ERP 6.0 EHP3 ABAPJAVA, 1 ERP 6.0 EHP4 ABAPJAVA, 1 Enterprise Portal 7.02 and 1 Solution Manager 7.0 EHP1). Each SAP system is up and running, performances are good, but only a few users are working on each of them. I see a warning in Vcenter concerning the RAM usage (94%), but the guest memory usage is low (from 5 to 12% in average during the last month).
How can I optimize ?
Kind regards,
ChristopheHi Christophe,
first of all, the warning you see is not critical. It is just a standard warning that comes up when a standard theshold of memory usage is reached. The 4 GB RAM you have left on the host should be sufficient to cover the memory allocation overheads of the VMs and the memory that is needed by the ESX hypervisor.
I assume you reserved 100 % of the assigned memory (mandatory for SAP virtualization). Reserved memory cannot be used by other VMs, therefore it is "not assignable" from the perspective of the hypervisor. This could be the reason why the threshold of the warning is reached although the utilization inside the guest ("active" memory) is low.
Kind regards,
Matthias -
We have 10 Server 2008 R2 servers all exhibiting the same behaviour.
The servers run at almost 100% memory utilization. Only one has had SP1 installed, which I did this morning and after about 1 hour, the memory is maxed out. The server initially had 14GB memory, but after installing SP1 and seeing more of the
same, I decided to try installing more RAM. I put in another 8GB, and while it takes a little longer to bottom out, it still bottoms out. Perfmon is showing less than 100MB of available memory, and, as expected, performance is not good.
These servers are strictly file servers. We work with images of hard drives. They are split into 2GB chunks. An easy way to replicate the issue is to load a hard drive image and do a re-acquisition. We do this sometimes as a drive
may be acquired in the field without compression, and we will re-acquire it with compression. Once this process is started, in about 1 hour, I have about 100MB free memory.
Using RamMap, Mapped File is using 21GB of memory. When I look at the file summary, the server is caching the 2GB image files and not letting go of them in a timely manner. I am the _only_ person accessing this server, it just gets worse
when more are.
As noted above, performance is terrible, is this supposed to be normal?
Server is an IBM x3550 M2 with dual quad-core CPU, 22GB RAM, OS is on a RAID 1 mirror of two 76GB 15K SAS drives, and the server has two 14TB arrays attached. OS is Windows Server 2008 R2 SP1. Only the File Server Role is installed.
Thanks,
BrianHi,
I would like to confirm that do you have Exchange Server installed on the servers?
If you do have Exchange Server installed, this behavior is normal. Exchange store.exe grabs as much RAM on the server as it can possibly get because
store.exe needs it to optimize performance. For more information, please refer to the following Microsoft TechNet blogs:
Why is Exchange Store.exe so RAM hungry?
http://blogs.technet.com/b/exchange/archive/2004/08/02/206012.aspx
Understanding Exchange 2007 Memory Usage and its use of the Paging File
http://blogs.technet.com/b/exchange/archive/2008/08/06/3406010.aspx
If you do not have Exchange Server installed, please check Task Manager and let us know what application uses the large size of memory. In addition,
you may run Process Explorer to monitor the memory usage. You may download and install it from the following link:
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
After that, please let us know the suspect.
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Journaling mailbox - Exchange 2013 Migrations from 2010
hi guys
i am about to start mailbox movement from Exchange 2010 to 2013. my setup is working fine. i have enabled journaling from Exchange 2010 and as ii found, automatically journaling rules will be reflected to exchange 2013. i had very big journaling mailbox
and then newly created New Exchange 2010 journaling mailbox. now new journaling mailbox is configured for journaling and that also still on 2010(both Old and new journaling mailbox ), new mailx is couple of weeks old (6-8 GB) and old one is 2.6 TB. So i will
move old one at the end .
my questions is if i move new journaling mailbox to 2013 before start normal Mailboxes, it will cause some issues for journaling. i use premium journaling . is it okay to move journaling mailbox at the begin ??
thank you
IndunilHi,
Based on my test, journal rules will be synchronized in Exchange 2013 after you create in Exchange 2010. If you create in Exchange 2013, then the rule will be synchronized in Exchange 2010.
And I did create a rule to send message to a Exchange 2013 jounal mailbox for Exchange 2010 users. It worked.
So you can migrate journal mailbox to Exchange 2013 firstly based on this test.
Best regards,
Belinda Ma
TechNet Community Support -
Exchange 2013 issue with High memory Usage on Mailbox server post SP1 update.
So we have been chugging along fine since Feb 2 2014.
I performed a migration from 2010 from the UK to the US doing "incremental" mailbox moves. (get in contact with me if you want to know how. But we moved 400 Mailboxes averaging at 2gb a piece from the UK to the US, over the transcontinental link.
& then the weekend of the final, had everyone & everything done by the end of the cutover weekend)
Any woot.
So I applied the 2013 SP1 a few weeks back, & have intermitantly been alerted to the memory spiking over 95%. For me (and for any exchange admin) when i get those types of alerts i drop everything & run to the nearest PC to see what is going on.
Now the first & second time, it was an issue with logs filling up the drives, & my clean log script not running to remove any logs older than 30 days. But since then it has been legitimate 95%+ memory usage.
For the most part its been 95-97 max, with 1 or 2 times hitting 98. After some time, the memory does drop back down to 94.
this is ....umm "fine" however it is becoming a nuisance, since most of the time it corrects itself. What i dont want to happen is get into the groove of saying "ah bah! its nothing" & letting it go.
the server has 16gb of memory in it, it is the Mailbox server (CAS /Frontend is on a seperate server)
below is a screen shot, so i know the Storeworker grabs whatever it feels like grabbing, however it does NOT EVER release memory. I also see the NodeRunner.exe (2 of them) is always around 900 almost a MB
now if i could somehow get the first 2 Storeworkers to drop down to 900ish, then that should alleviate my memory issues.
what I am m looking for is some type of "magic bullet" to put my memory issues at ease..thats the problem & seems to be a misconception.
Exchange NEVER releases the memory when other things need it. As the users state in your thread you linked. (i came across that early in my search for a resolution). An example is if another admin & myself log into the backend server at the same
time & begin clicking around opening things, etc..Memory will go to 100% which = No Buenos.
There are numerous post all over the internet from people who say it releases, but them 5 more comments to that 1 saying that it does not.
I know what the process's do, however it seems like the SP1 has increased memory usage, as typically the Store.exe would only grab about 900-1000.
in terms of the noderunner, once again i know its role, however we are now 2 months+ live on 2013 post migration, I do not think it is still indexing all those emails.
all DB's report healthy.
Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex
Length Length State
WBAC1\EXCHBE001 Mounted 0 0
Healthy
WBAC2\EXCHBE001 Mounted 0 0
Healthy
WBAC3\EXCHBE001 Mounted 0 0
Healthy
WBAC4\EXCHBE001 Mounted 0 0
Healthy
WBAC5\EXCHBE001 Mounted 0 0
Healthy -
Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%).
The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
configured threshold.”
There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20).
From what I can tell, all of the IP addresses are from Taiwan.
The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014).
From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening.
The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
The Error reads:
The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
Recent changes to the system:
About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!Hi,
Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
Thanks,
Simon Wu
TechNet Community Support -
Sizing a very small Exchange 2013 deployment
Hi,
I'm currently running Exchange 2007 SP3 on Windows 2003 so I'm starting the process of migrating to Exchange 2013. Our current Exchange 2007 configuration is very small with 31 users and an Exchange mailbox size of around 100 GB right now. Our current
Exchange 2007 box has a Xeon CPU with hyper-threading so I've got two CPUs and it has 6 GB of memory. I've got two Raided drives for the C and D with the Exchange 2007 software and mailbox on the D drive. The performance of this server is adequate though it's
beginning to get a little slow. We also have an SCR replica server that is virtualized.
So I'm trying to figure out what would be an appropriate new server size should be and I've looked at all the server sizing information and looked at the Microsoft provided sizing calculator workbook but even the smallest example is for a server with 1000
users which is clearly way more than what I have.
Given what I've read, I was going to go with the following hardware:
- New very fast Xeon CPU with at least 8 cores
- 16 GB of memory, possibly 24 GB
- Raided drives for the C, and D, and possibly an E drive to separate the database and log files. Probably 250 GB for the OS and 1 TB each for the data drives.
Any thoughts on this? Also if anyone has any links for sizing that are a little more specific to smaller deployments that would be very helpful.
Thanks
NickNike,
CUP & Memory (24GB) should be good as you only have very few users to handle.
On the Disk, Make sure they are Fast & The recommended RAID configuration for mailbox drive is RAID-1/0
I would recommend you to take a look at the below links
Exchange 2013 system requirements
https://technet.microsoft.com/en-us/library/aa996719%28v=exchg.150%29.aspx
Exchange Server Deployment Assistant
https://technet.microsoft.com/en-us/exdeploy2013/Checklist?state=2419-W-AAAAAAAAQAAAAAEAAAAAAAA~
Shekhar.K - Microsoft Exchange Admin. -
Diagnostic and usage has low memory logs
I noticed that I have 3 memory low logs in my usage data which makes no sense to me. I am careful to close out my apps and shut off my iPad when not using. I
How much memory do these come with? I have 64 gb so have plenty of storage but that is not the same as memory unless macs are different than pcs in that regards. I pasted part of one below and do not understand how I could have 25722 pages active. There is no way I have opened that many pages. Can someone explain this log to me?
thanks
Incident Identifier: A9C3CFBE-FB45-41FD-8FA0-8FF5F015FB34
CrashReporter Key: 12003f29baf1f3529d1bdf5b6e1c0d370e87cfc3
Hardware Model: iPad3,1
OS Version: iPhone OS 5.1 (9B176)
Kernel Version: Darwin Kernel Version 11.0.0: Wed Feb 1 23:18:07 PST 2012; root:xnu-1878.11.8~1/RELEASE_ARM_S5L8945X
Date: 2012-03-23 20:26:40 -0400
Time since snapshot: 70 ms
Free pages: 1489
Active pages: 25722
Inactive pages: 15514
Throttled pages: 146872
Purgeable pages: 20388
Wired pages: 57253
Largest process: Facebook
Processes
Name UUID Count resident pages
CW <02d0b979949f35cb805fb49a4092eb98> 11585
SolitairesFree <e92412f375a9327b89d44596f1ee2e55> 1950
Game Center~ipad <4def5485a9b63af5bd44081374f911b0> 7217
TWC-iPad <eccce978a7fa31499bcd7b98d3d1cebf> 8254
Preferences <f7fe5488030c3dc7bd7a7eb0b43d3f88> 2288
AppStore <6048ba6872873eacaf9891d916676324> 9654
MobileMail <eed7992f4c1d3050a7fb5d04f1534030> 1645
MobileStore <f93e54a78c833aedaae9ccdc2d454ddc> 13803 (jettisoned)
Facebook <634c3f44446b37e38e896aacfe5db282> 48165 (active)
Music~ipad <feaeeb513e9c35c99e16dcc59d2fee82> 1429
WordsWithFriends <f5f78622781e336982b296542844b81f> 23831
networkd <10e39e61090b3c999ae580c8a2b862d0> 267
aosnotifyd <9fbc1c99b00f34c5978eabca0ed855d6> 713
BTServer <f3607d9648b93be69fbec2e2e7bb7c97> 345
aggregated <a12fa71e6997362c83e0c23d8b4eb5b7> 508
apsd <0f4cea84e4833057ab2816ca5d9e4b7b> 452
dataaccessd <473ff40f3bfd3f71b5e3b4335b2011ee> 1177
fairplayd.J1 <e21189305e6b339b8bb329d3f06ecf31> 372
fseventsd <914b28fa8f8a362fabcc47294380c81c> 256
iapd <84e86122efe33ef7a9d874a8d86f07ef> 693
imagent <a17aacef550b334496f644607a6bb12c> 498
locationd <de6edddaae23368db41a2d1d3ced1503> 940
mDNSResponder <86ccd4633a6c3c7caf44f51ce4aca96d> 353
mediaremoted <327f00bfc10b3820b4a74b9666b0c758> 394
mediaserverd <2fb463599bb63562a7d81375204a56ec> 3791
wifid <1e99f4977ee43d93ab83f5b4b4b3b95b> 473
lockdownd <0095f750159533739e1f21d40733b2cc> 361
powerd <133b7397f5603cf8bef209d4172d6c39> 276
CommCenterClassi <b923f5c5355d34cd9f2a01b8230515e3> 454
syslogd <7153b590e0353520a19b74a14654eaaa> 149
SpringBoard <8a3476a1ccde31e9a779449383233fa8> 15418 (active)
configd <ee72b01d85c33a24b3548fa40fbe519c> 452
notifyd <f6a9aa19d33c3962aad3a77571017958> 254
UserEventAgent <dc32e6824fd33bf189b266102751314f> 672
launchd <5fec01c378a030a8bd23062689abb07f> 176
**End**I can't explain why you're getting these low memory logs, or whether they really mean anything serious. But I can explain some of what's listed in the log.
You're right that storage and memory (RAM) are different; this is just as true on an iOS device as on a PC or Mac. In your case, you have an iPad 3rd generation, which comes with 1 GB of memory. The low memory log is intended for developers, and the "pages" have nothing to do with web pages. They are "memory pages", small fixed-size blocks of memory which are managed by the operating system. The OS divides the entire memory of the machine into these pages and parcels them out to running applications. (This is normal practice on pretty much any modern computer system.) In iOS, these pages are 4 kilobytes in size, so your machine has a total of 262144 pages of memory (1 GB divided by 4 KB). A small fraction of these pages will be reserved by the operating system for its own needs.
The list of processes at the end of the log shows what was running on the system at the time. It includes running user applications as well as various background system services which are hidden from the user. The column "Count resident pages" lists how many pages of memory each running process was currently using. Facebook is the largest process, using 48165 pages.
The section above the list of processes is a breakdown of the memory by how it's being used. The relatively low number of "Free pages" is not unusual; free pages are memory pages which are kept completely unused, just in case something needs extra memory, and most modern operating systems try to keep as much memory in use as possible. After all, if you've paid for the memory in the system, you want it to be doing something useful. If some process needs more memory, but there aren't enough free pages available, the operating system will check other memory pages in use to see if any of them can be freed up somehow.
As for the rest of the breakdown, "active pages" shows pages currently in active use by some process (meaning that the process has used them very recently), and "inactive pages" shows pages which are in use by a process but which haven't been referred to very recently (these might potentially be freed up). "Wired pages" are memory pages which are currently being used by the operating system and cannot be freed under any circumstances. While it's normal for some pages to be wired, a large number of them may make it harder for the operating system to find enough free memory. "Purgeable pages", on the other hand, are pages which it's perfectly OK for the operating system to free whenever memory is needed.
Unfortunately, I can't figure out what "Throttled pages" refers to. It has something to do with iOS's memory management, but I can't find an explanation of the terminology.
If any of this seems opaque or obscure, I apologize. Operating system memory management is a very complex topic, but I tried to keep this discussion reasonably understandable. -
Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.
First my organize has Exchange on 2 site like
site A (internet facing) : 2CAS 2 MB all are Services pack1
site B (DR Site , no user active on this site) : 2CAS 2MB all are Services pack 1
so today I upgrade Exchange 2013 from SP1 to CU5 start on "site B" and I found this issue and the details is....
When I open EMS on any CU5 for query something (like get-mailboxdatabasecopystatus) the response return very slow and some query will not return at all (like get-owavirtualdirectory).
But If I using EMS on SP1. Everything is ok then I try to use EMS on SP1 connect to CU5 and try to query something. the result is
some query command cannot return for any result that are server on siteB (just some query command)
Problem
EMS on CU5 return very slow result.
EMS on SP1 still ok.
Does anyone face this problem before for CU5??? Please help me figure this out. Thank you
reply from Social.technetHi,
Have you used the above cmdlets to check your Exchange server health?
"all other command that I ran on EMS didn't logged on event viewer.", my environment is the same with you. I use Exchange 2013, only errors will be displayed in MSExchange Management. Actually, it is not related to slow EMS response.
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support -
Extensive (very very very extensive) memory usage of host application with CS extension
Hi!
I tried this only under Photoshop CS5 and InDesign CS5 under Windows 7.
When you open and close CS extension panel, the memory taken by Photoshop (InDesign) increases by 6-30MB!
In case of the simple HelloPhotoshop (HelloInDesign) panel from the examples, compiled in release mode, when you open it and close, - it's about 6-10MB each time you do it. And in case of a more complex panel, which uses AIR, etc. it's about 30MB per one panel close/open.
When I use some panels in 5-10 minutes Photoshop (InDesign) increases its memory pool from 600MB up to 1,2 GB. And more. And this memory is never freed, only until Photoshop (InDesign) shutdown.
I tried freeing all my arrays, killing display objects, etc. - nothing helped. Even a simple HelloPhotoshop (HelloInDesign) that does nothing eats memory.
By the way, InDesign eats memory a lot faster .James, thank you for the very fast answer! I did various tests on the weekend on my computer and computer of my friend.
And I can say, that Debug flag doesn't affect memory consumption. They still eat memory. My steps to reproduce are as follows:
(Windows 7 32 bit)
Photoshop CS5:
1) set HKEY_CURRENT_USER\Software\Adobe\CSXS2Preferences\PlayerDebugMode to 0
2*) check HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\CSXS2Preferences (just in case)
3) Compile HelloPhotoshop example to ZXP and install via Extension manager
4) restart computer
5) Run Photoshop CS5 - Memory consumption: 100 096 KB
6) Open HelloPhotoshop and close it 10 times
7) Memory consumption: 155 840 - 5,574 MB per one close/open
Maybe a garbage collector is expected to run and free this memory, but it never happened in my case. The memory pool was increasing to 1 GB when I was working with one of my panels - with no documents open in Photoshop
In InDesign I tried the same thing with HelloInDesign ( I had to close the panel completely and then open with Window | Extensions | HelloInDesign)
Memory consumption on start: 118 516
Memory consumption after 10 open/close cycles: 197 516
It's 7,9 MB per one close/open
It's the simpliest panel test. When I'm using AIR libraries the memory usage is increasing a lot faster. -
It never happened before and today it overloaded my PC so i had to force restart.
I use 2 keyword research applications. They start to shoot up to almost 600MB of RAM when i am researching keywords. When i minimize program after research, the memory usage drops to 32MB. When i restore window back, these 32MBs turn back into 600MB.
I tried downgrading Adobe Air to version 2.0.4 and that didn't help. Upgrading to the newest version didn't help.
What is the problem?Hi Boris,
The memory usage is very dependent on the application and how it handles it's resources. Have you contacted the developers of the two applications to see if your findings are consistent with their testing? You mentioned that the memory footprint is the same between 2.0.2 and 2.5, do you know if it increased after 1.5.3?
Having the memory usage drop to a fraction of it's normal size when minimized is consistent with normal Windows behavior.
Thanks,
Chris -
Very high memory usage..possible memory leak? Solaris 10 8/07 x64
Hi,
I noticed yesterday that my machine was becoming increasingly slow, where once it was pretty snappy. It's a Compaq SR5250NX with 1GB of RAM. Upon checking vmstat, I noticed that the "Free" column was ~191MB. Now, the only applications I had open were FireFox 2.0.11, GAIM, and StarOffice. I closed all of them, and the number reported in the "Free" column became approximately 195MB. "Pagefile" was about 5.5x that size. There were no other applications running and it's a single user machine, so I was the only one logged in. System uptime: 9 days.
I logged out, logged back in, to see if that had an affect. It did not. Rebooted and obviously, that fixed it. Now with only FireFox, GAIM, and a terminal open, vmstat reports "Free" as ~450MB. I've noticed if I run vmstat every few seconds, the "Free" total keeps going down. Example:
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870888 450220 9 27 10 0 1 0 8 2 -0 -0 -0 595 1193 569 72 1 28
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870880 450204 9 27 10 0 1 0 8 2 -0 -0 -0 596 1193 569 72 1 28
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870828 450092 9 27 10 0 1 0 8 2 -0 -0 -0 596 1193 570 71 1 28
unknown%Output of prstat -u Kendall (my username ) is as follows:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
2026 Kendall 124M 70M sleep 59 0 0:01:47 1.4% firefox-bin/7
1093 Kendall 85M 77M sleep 59 0 0:07:15 1.1% Xsun/1
1802 Kendall 60M 15M sleep 59 0 0:00:08 0.1% gnome-terminal/2
1301 Kendall 93M 23M sleep 49 0 0:00:30 0.1% java/14
1259 Kendall 53M 15M sleep 49 0 0:00:32 0.1% gaim/1
2133 Kendall 3312K 2740K cpu1 59 0 0:00:00 0.0% prstat/1
1276 Kendall 51M 12M sleep 59 0 0:00:11 0.0% gnome-netstatus/1
1247 Kendall 46M 10M sleep 59 0 0:00:06 0.0% metacity/1
1274 Kendall 51M 13M sleep 59 0 0:00:05 0.0% wnck-applet/1
1249 Kendall 56M 17M sleep 59 0 0:00:07 0.0% gnome-panel/1
1278 Kendall 48M 9240K sleep 59 0 0:00:05 0.0% mixer_applet2/1
1245 Kendall 9092K 3844K sleep 59 0 0:00:00 0.0% gnome-smproxy/1
1227 Kendall 8244K 4444K sleep 59 0 0:00:01 0.0% xscreensaver/1
1201 Kendall 4252K 1664K sleep 59 0 0:00:00 0.0% sdt_shell/1
1217 Kendall 55M 16M sleep 59 0 0:00:00 0.0% gnome-session/1
779 Kendall 47M 2208K sleep 59 0 0:00:00 0.0% gnome-volcheck/1
746 Kendall 5660K 3660K sleep 59 0 0:00:00 0.0% bonobo-activati/1
1270 Kendall 49M 10M sleep 49 0 0:00:00 0.0% clock-applet/1
1280 Kendall 47M 8904K sleep 59 0 0:00:00 0.0% notification-ar/1
1199 Kendall 2928K 884K sleep 59 0 0:00:00 0.0% dsdm/1
1262 Kendall 47M 2268K sleep 59 0 0:00:00 0.0% gnome-volcheck/1
Total: 37 processes, 62 lwps, load averages: 0.11, 0.98, 1.63System uptime is 9 hours, 48 minutes. I'm just wondering why the memory usage seems so high to do...nothing. It's obviously a real problem as the machine turned very slow when vmstat was showing 195MB free.
Any tips, tricks, advice, on which way to go with this?
Thanks!Apologies for the delayed reply. School has been keeping me nice and busy.
Anyway, here is the output of prstat -Z:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
2040 Kendall 144M 76M sleep 59 0 0:04:26 2.0% firefox-bin/10
28809 Kendall 201M 193M sleep 59 0 0:42:30 1.9% Xsun/1
2083 Kendall 186M 89M sleep 49 0 0:02:31 1.2% java/58
2260 Kendall 59M 14M sleep 59 0 0:00:00 1.0% gnome-terminal/2
2050 Kendall 63M 21M sleep 49 0 0:01:35 0.6% realplay.bin/4
2265 Kendall 3344K 2780K cpu1 59 0 0:00:00 0.2% prstat/1
29513 Kendall 71M 33M sleep 39 0 0:07:25 0.2% gaim/1
28967 Kendall 56M 18M sleep 59 0 0:00:24 0.1% gnome-panel/1
29060 Kendall 93M 24M sleep 49 0 0:02:58 0.1% java/14
28994 Kendall 51M 13M sleep 59 0 0:00:23 0.1% wnck-applet/1
28965 Kendall 49M 14M sleep 59 0 0:00:33 0.0% metacity/1
649 noaccess 164M 46M sleep 59 0 0:09:54 0.0% java/23
28996 Kendall 51M 12M sleep 59 0 0:00:50 0.0% gnome-netstatus/1
2264 Kendall 1352K 972K sleep 59 0 0:00:00 0.0% csh/1
28963 Kendall 9100K 3792K sleep 59 0 0:00:03 0.0% gnome-smproxy/1
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
0 80 655M 738M 73% 1:18:40 7.7% global
Total: 80 processes, 322 lwps, load averages: 0.27, 0.27, 0.22Sorry about the bad formatting, it's copied from the terminal.
In any event, we can see that FireFox is sucking up 145MB (??!?!!? crazy...) XSun, 200MB, and java 190MB. I'm running Java Desktop System (Release 3) so I assume that is what accounts for the the high memory usage RE: java process. But, XSun, 200MB?
Is this normal and I just need to toss another gig in, or what?
Thanks -
Very high memory usage with Yahoo Mail
After using Yahoo Mail for an hour or so my memory usage increases to a very high level.
Just now, after reading and deleting about 50 e-mails (newsletters etc.) I noticed Firefox 17 running slowly and checked the memory usage in Windows Task Manager (I am using XP) and it was 1.2 Gb. My older laptop only has 2 Gb of RAM. Yahoo Mail was the only thing open at the time.
I never notice this problem with Gmail which I mainly use. However I use Yahoo Mail for quite a few newsletters etc. that are less important and which I only check once a week or so.
I found the following bug report about 3 years old which almost exactly describes my problem.
https://bugzilla.mozilla.org/show_bug.cgi?id=506771
But this report involves a much earlier Firefox version, and at the end it seems to say that the problem was fixed. However it well describes my current issue with Firefox 17, especially the continual increase in memory while using the up/down arrow keys to scroll through Yahoo e-mails.
Is this normal to have to shut down and reopen Firefox every hour or so to clean out the memory? For some reason I only notice this when using Yahoo Mail. After using many other sites and having multiple tabs open for several hours I rarely reach that kind of memory usage. About the highest I've seen with other sites after a couple of hours is 600 Kb which is roughly when I start notice slower response times.See also:
*https://support.mozilla.org/kb/firefox-uses-too-much-memory-ram
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do not click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
What are the internal microphone specifications for the Iphone 4?
I'm conducting experimental field work using my Iphone and need to include the microphone specifications in my report. Does anyone have this information at hand or know where I can find it? Thanks in advance, T
-
Hardware capability for FIM Reporting
I am doing some capacity planning for a FIM 2010 R2 deployment and trying to understand the hardware requirements for the Reporting feature. Based on the diagarm below, it looks like the performance is primarily driven by two factors: System Center a
-
Mouse motion listener for JTable with JScrollpane
Hi All, I have added mouse motion listener for JTable which is added in JScrollPane. But if i move the mouse, over the vertical/horizontal scroll bars, mouse motion listener doesn't works. So it it required to add mousemotionlistener for JTable, JScr
-
Significance of Administrators Tab & Object Permissions Tab in OIM PF
Hi, Can any one explain me the significance of Administrators Tab & Object Permissions Tab in OIM Process Form? Are they same? if I have added a group in Administrators Tab and not in Object Permissions Tab , what will be the impact of this in terms
-
Singleton class and serial port dialog
Hello, I'm trying to use the code provided here. Could someone help me by providing a complete example and especially the main file code. How should I create the singleton instance ? How to send an receive data ? Thanks in advance. Thomas