IDCS5 Mac - Massive memory leaks - Followup to previous discussion
Hello Everyone:
After some painful, tedious marching though the code on the Mac, I found something really, really strange. The code seemed to be working fine, except when a couple of documents were added in the scan jobs. I isolated one of the documents and removed each object on the page until I came across the object that, when scanned, caused InDesign to report the massive memory leaks.
The object was a quarter-inch by quarter-inch overset text frame (that's .63 cm by .63 cm for those of you who are used to the more sensible metric system). In the text frame was a single character, not normally visible when on the page. According to the ASSERT dialog box that was thrown up on the screen when InDesign was shutting down, this little bitty object was the source of 104450 leaks amounting to between 38,000,000 abd 51,000,000 bytes in leaks. Here's the code where the leaks must be coming from (and Dirk, I owe you a crow pie...as in I'm gonna have to eat crow...I use PMString for one small command in this snippet, but it seemed so much faster and simpler than what the examples in widestring.h were suggesting):
// TI is TextIndex, assigned from a call to IMultiColumnTextFrame::TextStart()
// TS is int32 assigned from a call to IMultiColumnTextFrame::TextSpan()
WideString Text;
TextIterator beginTextChunk(FrameTextModel, TI );
TextIterator endTextChunk( FrameTextModel, (TS + TI));
std::copy(beginTextChunk, endTextChunk, std::back_inserter(Text));
PMString PMText(Text);
std::string text = PMText.GetPlatformString();
IdentifyNamesInText(text);
This final function call could not have been the source of the problem because one of the steps I took in tracking down the problem was to put "return" as the first line in its implementation but the bug still occurred.
Hi, I don't know if this is relevant or not, particularly since we're on Windows and the problem you're seeing is on Mac.
One of our guys put in some code to workaround a problem which he encountered using std:;copy with TextIterators under VS2005 (so it would have been CS4)
/// Alternative to using std::copy to workaround issues using std::copy and TextIterator's in VS2005
inline void TextIteratorCopy( TextIterator& posBegin, TextIterator& posEnd, WideString& strDest )
std::back_insert_iterator < WideString > posDest = std::back_inserter( strDest );
for ( ; posBegin != posEnd; ++posDest, ++posBegin )
*posDest = *posBegin;
that said, it might not affect you on the Mac, it might no longer be an issue with CS5 either.
Similar Messages
-
Yosemite and Mail massive memory leak and excessive CPU usage
I've just installed Yosemite and upgraded to 10.10.2 via the AppStore. Now I have a problem with Mail sucking up all the CPU (>106% !) and memory (>8Gb and rising while doing nothing). Everything runs fine when I quit Mail. Very disturbing behaviour!
I've tried several suggestions found elsewhere on the board here, such as turning off and even removing all Mail plug-ins including SpamSieve, but without positive results. I've tried un-selecting 'Store draft msgs on server', as well as the option for junk and sent msgs. but again without any difference. Going Offline within Mail also makes no difference to its memory hogging or CPU usage.
I notice this is an issue that's been around since last year (wish I'd known that before upgrading to Yosemite today) and I am just completely flabbergasted that it still exists. Would've thought Apple'd have fixed it in the first but certainly in the second incremental OSX Yosemite release.
Is there anything else I could try that's proven to be effective in stopping Mail's massive memory leak?Okay, I've run Disk Util and restarted. Seems to have made a little bit of a difference to the RAM gobbling in that it appears to be going at a slower rate, but it's still up at around the 45Gb after an hour. Here's the EtreCheck report in the hope that it helps.
EtreCheck version: 2.1.6 (109)
Report generated 28 January 2015 4:38:22 pm AEDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (Retina, 15-inch, Mid 2014) (Technical Specifications)
MacBook Pro - model: MacBookPro11,3
1 2.5 GHz Intel Core i7 CPU: 4-core
16 GB RAM Not upgradeable
BANK 0/DIMM0
8 GB DDR3 1600 MHz ok
BANK 1/DIMM0
8 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en0: 802.11 a/b/g/n/ac
Battery Health: Normal - Cycle count 16
Video Information: ℹ️
Intel Iris Pro
Color LCD spdisplays_2880x1800Retina
NVIDIA GeForce GT 750M - VRAM: 2048 MB
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 1:1:19
Disk Information: ℹ️
APPLE SSD SM0512F disk0 : (500.28 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 499.05 GB (413.24 GB free)
Core Storage: disk0s2 499.42 GB Online
USB Information: ℹ️
Apple Internal Memory Card Reader
Asmedia ASM107x
Asmedia ASM107x
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Asmedia ASM107x
Asmedia ASM107x
Logitech Logitech USB Optical Mouse
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Configuration files: ℹ️
/etc/hosts - Count: 2
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/DiskWarrior.app
[not loaded] com.alsoft.Preview (5 - SDK 10.5) [Support]
/Applications/ibVPN.app
[not loaded] net.tunnelblick.tap (1.0) [Support]
[not loaded] net.tunnelblick.tun (1.0) [Support]
/Library/Extensions
[loaded] at.obdev.nke.LittleSnitch (4231 - SDK 10.8) [Support]
[loaded] com.sophos.kext.sav (9.2.50 - SDK 10.8) [Support]
[loaded] com.sophos.nke.swi (9.2.50 - SDK 10.8) [Support]
[loaded] jp.plentycom.driver.SteerMouse (4.2.2 - SDK 10.6) [Support]
Problem System Launch Agents: ℹ️
[killed] com.apple.AirPlayUIAgent.plist
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.CallHistorySyncHelper.plist
[killed] com.apple.cloudd.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.pluginkit.pkd.plist
[killed] com.apple.security.cloudkeychainproxy.plist
[killed] com.apple.spindump_agent.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
10 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.awdd.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.nsurlsessiond.plist
[killed] com.apple.softwareupdated.plist
[killed] com.apple.wdhelper.plist
8 processes killed due to memory pressure
Launch Agents: ℹ️
[running] at.obdev.LittleSnitchUIAgent.plist [Support]
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[running] com.adobe.AdobeCreativeCloud.plist [Support]
[running] com.sophos.uiserver.plist [Support]
Launch Daemons: ℹ️
[running] at.obdev.littlesnitchd.plist [Support]
[running] com.adobe.adobeupdatedaemon.plist [Support]
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[running] com.sophos.common.servicemanager.plist [Support]
[running] com.synium.cleanappdaemon.plist [Support]
[running] com.syniumsoftware.CleanAppDaemon.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[running] com.c-command.SpamSieve.LaunchAgent.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[not loaded] com.linotype.FontFolderProtector.plist [Support]
[failed] com.wondershare.mobilegodaemon.plist [Support]
[not loaded] info.lokiware.attachmenttamer.cleanup.plist [Support]
[invalid?] info.lokiware.attachmenttamer.setupagent.plist [Support]
User Login Items: ℹ️
Letter Opener Updater Application (/Library/Mail/Bundles/Letter Opener.mailbundle/Contents/Resources/Software Update.app)
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Default Folder X Helper Application Hidden (/Users/[redacted]/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app)
FontExplorer X Pro Application Hidden (/Applications/FontExplorer X Pro.app)
Calendar Application Hidden (/Applications/Calendar.app)
SteerMouse Manager Application (/Applications/Utilities/SteerMouse.app/Contents/MacOS/SteerMouse Manager.app)
Mail Application Hidden (/Applications/Mail.app)
Android File Transfer Agent Application (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
DiskWarriorStarter Application (/Applications/DiskWarrior.app/Contents/Helpers/DiskWarriorStarter.app)
finderpop-daemon Application (/Users/[redacted]/Library/PreferencePanes/FinderPop.prefPane/Contents/Resource s/finderpop-daemon.app)
XtraFinder Application Hidden (/Applications/XtraFinder.app)
Internet Plug-ins: ℹ️
AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Support]
FlashPlayer-10.6: Version: 16.0.0.296 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
Flash Player: Version: 16.0.0.296 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
User internet Plug-ins: ℹ️
iGetter Plugin: Version: 2.9.3 [Support]
iGetterScriptablePlugin: Version: 2.9.3 [Support]
Safari Extensions: ℹ️
1Password [Installed]
iGetter Extension [Installed]
3rd Party Preference Panes: ℹ️
Default Folder X [Support]
FinderPop [Support]
FUSE for OS X (OSXFUSE) [Support]
SteerMouse [Support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
105% Mail
3% WindowServer
2% sysmond
2% Activity Monitor
0% fontd
Top Processes by Memory: ℹ️
4.10 GB Mail
103 MB Finder
86 MB SophosScanD
86 MB InterCheck
86 MB WindowServer
Virtual Memory Information: ℹ️
84 MB Free RAM
2.92 GB Active RAM
2.87 GB Inactive RAM
2.76 GB Wired RAM
2.57 GB Page-ins
23 MB Page-outs
Diagnostics Information: ℹ️
Jan 28, 2015, 03:37:41 PM Self test - passed
Jan 28, 2015, 02:49:01 PM /Users/[redacted]/Library/Logs/DiagnosticReports/Android File Transfer Agent_2015-01-28-144901_[redacted].crash
Jan 28, 2015, 09:31:04 AM /Library/Logs/DiagnosticReports/Mail_2015-01-28-093104_[redacted].cpu_resource. diag [Details]
Jan 28, 2015, 07:39:17 AM /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-28-073917_[redacted].c rash
Jan 27, 2015, 07:54:29 PM /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-27-195429_[redacted].c rash -
I have the most recent version of AME CS6 (6.0.3.1) and I have 64GB of RAM installed which once I start encoding any source my RAM will be completely filled within 10 minutes of starting the encode. This is even with my allocating only 10 GB for CS6 through AME. I would like to know if a solution is in the works since this seems to be a common issue. Feel free to ask me any questions as I would love to see this truly fixed.
I did it in order to test that there was indeed a memory leak, I had intended on given CS6 50GB or so, though when I could no longer do anything because of all of my RAM was being USED I started to investigate. The other interesting thing is that the memory simple "disappears" as in no program claims to be using it, even though the system reports that all 64GB are in use. Also the "remaining" timer continues to increase in length even though AME is making progress with the file.
-
Firefox has massive memory usage in recent times (runs up to over 3GB on Win7x64HP). I was not sure until now what caused it, since I have the browser open in the background most of the time. Commonly open pages are facebook, some news site (containing flash ads) and some other stuff for doing research. And Google - of course.
Normally I killed Firefox completely whenever I recognized the memory usage was way above normal, but this time I just kicked the google tab and (after 2mins of HDD action) the mem usage dropped by 2GB! I have no idea what causes this, but the rise of allocated mem is always very slowly and seems to build up over the day (2-3 times stand-by or hibernation included). I also just realized that the google tab keeps cpu usage of FireFox constantly by around 2%. An important side note: FF automatically logs on to Google+, maybe that's one of the reasons.
Has anyone the same issues? Is it rather a the fault of FF or Google? Will try surfing with Extensions deactivated the next days to see if the behavior continues...If you go to ''about:memory'' in the location bar you may find some of the info there of use, explanatory notes appear on mousover. It will help you figure out where the memory is going to.
* see also [[high memory usage]]
Some of the developers have been trying recently to improve how firefox uses memory, and have recently added ''about:memory'' as a diagnostic feature.
Using 3GB of memory for firefox is obviously abnormal, however some sites you use may be fairly intensive. It does often take quite a bit of effort to track down such problems, but sometimes new problems are identified and then fixed: either problems with firefox, or with specific sites or software. -
Help!
I'm no developer but am very good with OS and networks etc. Need help wirth a serious issue I have no idea how to solve.
I use an app that runs on JVM (Azureus) and I have what my fried has explained is a memory leak.
For each second the app is running (it downloads data and writes it to disk) its system memory requirement goes up by approx 2Mb. It does not stop. Usually reaches about 1.5 - 2 Gb and my system crashes. Obviously, I dont let this happen a lot, I am not using the software until i fix the issue.
Does anyone have a clue about this or where I may start trying to fix the problem. My guess is that JVM is not clearing its buffer after writing the data to my HD - but thats a guess.
Thank you!I am also using Azureus...did you do any advanced configuration to your Azureus?
What version of Azureus are you using?
MSN me if you can...
[email protected] -
Launching Mail becomes a runaway process and creates a massive memory leak in the kernel task
I have 16gig of ram, my kernel task is currently using 12gig, Mail is no longer responding while using all remaining ram
Mail has been jammed at 100% of one i7 core for about 2 hours now, disk activity is almost nonexistant.
it was running poorly yesterday, rebuilding the mailboxes did not yeild a positive effect
permissions and drive check out
Quicklook is also reporting a lot of bs when finder windows are open:
example:
10/26/13 1:40:20.985 PM quicklookd[14056]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x603] flags: 0x8 binding: FileInfoBinding [0x503] - extension: mp3, UTI: public.mp3, fileType: ???? request size:32 scale: 1
I hate the new activity monitor so much, none the less, "Memory Pressure" is pinned
Seeing a whole lot of this in the console as well:
10/26/13 2:57:11.000 AM kernel[0]: SMC::smcReadKeyAction ERROR TM6P kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff802ba32000
About to reset the SMC and NVRAM in hopes of a magical unicorn
here is the profile output from EtreCheck:
Hardware Information:
MacBook Pro (17-inch, Early 2011)
MacBook Pro - model: MacBookPro8,3
1 2.3 GHz Intel Core i7 CPU: 4 cores
16 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 512 MB
AMD Radeon HD 6750M - VRAM: 1024 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
Startup Items:
M-Audio Firmware Loader - Path: /Library/StartupItems/M-Audio Firmware Loader
System Software:
OS X 10.9 (13A603) - Uptime: 2 days 22:34:21
Disk Information:
OWC Mercury Pro RAID disk0 : (2 TB)
EFI (disk0s1) <not mounted>: 209.7 MB
JumboZero (disk0s2) /Volumes/JumboZero: 2 TB (25.5 GB free)
WD My Book 1105 disk6 : (4 TB)
EFI (disk6s1) <not mounted>: 209.7 MB
4TB Beast (disk6s2) /Volumes/4TB Beast: 4 TB (14.97 GB free)
TOSHIBA MK7559GSXF disk2 : (750.16 GB)
EFI (disk2s1) <not mounted>: 209.7 MB
Flux (disk2s2) /: 749.3 GB (301.59 GB free)
Recovery HD (disk2s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information:
Apple Inc. FaceTime HD Camera (Built-in)
Apple, Inc. Keyboard Hub
Logitech USB-PS/2 Optical Mouse
Apple, Inc Apple Keyboard
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Matrox DualHead2Go-DP
Data Robotics Inc. Drobo 17.59 TB
EFI (disk5s1) <not mounted>: 209.7 MB
Drobo (disk5s2) /Volumes/Drobo 1: 17.59 TB (11.09 TB free)
CPS OR2200LCDRM2U
Apple Computer, Inc. IR Receiver
FireWire Information:
0x1F2 Vendor 0x1F2 Device 0x101800 400mbit - 400mbit max
0x30E1 Oxford IDE Device 00 400mbit - 400mbit max
EFI (disk4s1) <not mounted>: 209.7 MB
Terabyte (disk4s2) /Volumes/Terabyte: 999.86 GB (13.63 GB free)
Other World Computing Oxford ATA Device 00 800mbit - 800mbit max
EFI (disk3s1) <not mounted>: 209.7 MB
Payload (disk3s2) /Volumes/Payload: 2 TB (181.19 GB free)
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Kernel Extensions:
com.Logitech.Control Center.HID
com.TrustedData.driver.VendorSpecificType00 (1.7.0)
com.attotech.driver.ATTOiSCSI (3.4.1b1)
com.paceap.kext.pacesupport.snowleopard (5.9)
com.motu.driver.FireWireAudio (1.6
Problem System Launch Daemons:
[failed] com.apple.AOSNotificationOSX.plist
[failed] com.apple.installd.plist
[failed] com.apple.softwareupdated.plist
[failed] com.apple.wdhelper.plist
Problem System Launch Agents:
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.adobe.SwitchBoard.plist
[loaded] com.attotech.iscsid.plist
[loaded] com.datarobotics.ddservice64d.plist
[loaded] com.klieme.TimeMachineScheduler.plist
[loaded] com.novation.automap.pluginhelper.plist
[loaded] com.paceap.eden.licensed.plist
[loaded] org.macosforge.xquartz.privileged_startx.plist
[loaded] PACESupport.plist
Launch Agents:
[not loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.CS5ServiceManager.plist
[loaded] com.Logitech.Control Center.Daemon.plist
[loaded] com.motu.MOTULauncher.plist
[loaded] org.macosforge.xquartz.startx.plist
User Launch Agents:
[loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.ARM.[...].plist
[failed] com.google.GoogleContactSyncAgent.plist
[loaded] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist
[failed] com.logmein.rescue.sa.0372bc40-2c4a-4755-a5a8-ae3c68b59ab8.plist
[failed] com.logmein.rescue.sa.2449ad28-4b5d-4836-b3d5-7adfb1c387c7.plist
[loaded] com.valvesoftware.steamclean.plist
User Login Items:
CheatSheet
Activity Monitor
Clipboard History
VMware Fusion Helper
MagicMenu
Dropbox
Android File Transfer Agent
Terminal
Console
Matrox PowerDesk
Dictionary
ShuttleHelper
AutomapServer
DDAssist
3rd Party Preference Panes:
Flash Player
Flip4Mac WMV
FUSE for OS X (OSXFUSE)
Logitech Control Center
M-Audio MIDISPORT 8x8
TimeMachineScheduler
Tuxera NTFS
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Default Browser.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
User Internet Plug-ins:
Bad Fonts:
None
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO
Volumes being backed up:
Payload: Disk size: 2 TB Disk used: 1.82 TB
Flux: Disk size: 749.3 GB Disk used: 447.7 GB
Destinations:
Drobo [Local] (Last used)
Total size: 17.59 TB
Total number of backups: 2
Oldest backup: 2013-03-04 17:05:27 +0000
Last backup: 2013-10-22 13:23:41 +0000
Size of backup disk: Excellent
Backup size 17.59 TB > (Disk size 2.75 TB X 3)
Top Processes by CPU:
100% com.apple.internetaccounts
10% Activity Monitor
9% Transmission
3% WindowServer
3% sysmond
1% EtreCheck
1% Dock
1% Mail
0% configd
0% powerd
Top Processes by Memory:
2.43 GB Mail
426 MB com.apple.internetaccounts
115 MB Finder
98 MB Transmission
98 MB CVMCompiler
49 MB Adium
49 MB mds_stores
49 MB WindowServer
49 MB Console
33 MB mds
Virtual Memory Statistics:
22 MB Free RAM
1.91 GB Active RAM
1.90 GB Inactive RAM
2.07 GB Wired RAM
9.39 GB Page-ins
416 MB Page-outsI feel your pain!
Mac Pro with 32 GB, and Mail takes about 5 minutes to "start" - well, show the Mail Menu. Then, another few minutes to actually draw the window... but wait, it STILL needs more time to actually show the accounts and mail.
The (stupid) new Activity Monitor show Mail using 12 GB of RAM, and several com plist files also sucking up CPU time and RAM. Why Apple has to dumb-down good information to "Memory Pressure" is beyond me!
I have reported thsi to Apple, and they had a Support person get in touch with me. I have sent several spindumps and tarball files last week, but no reply. Today, I pinged the support person who said Apple Engineering was reviewing the information, and would likely get back sometime as *maybe* some others were experiencing this problem... -
CS 5.5 Dynamic Link Server Massive Memory Leak - 16 GB of unusable RAM on a 32 GB Machine
Hi,
I do work in AE then save the Project and drag n drop the comp I want to render into Adobe Media Encoder.
After doing that with a couple of project things start to behave weirdly...
Juddery Playback & In-responsiveness.
I use "MenuMeters" to always track my memory....
Normally when I boot up I will see a miniature green slice of a full wheel(See Pic Below) being used meaning that I have about 31GB of my RAM to play around with.
That changes after running above scenario and adobe apps in general...
What happens is that after Purging ALL in After Effects it will purge the RAM that it currently uses BUT it will set that used-to-be-allocated RAM as Inactive and NOTHING that I do can take care of that. Logout wont help. Restart is the only remedy.
So this below screenshot depicts what happens right after I choose PURGE ALL in AE
(Gray = Inactive Memory)
And the following screenshot depicts what happens when I do another RAM preview right after having purged ALL menory
As you can clearly see AE cannot USE that memory as and thus my RAM preview will be a LOT (16GB to be specific) shorter.
Any Ideas ?
If you dont have - MenuMeters, you can follow along with Activity monitor - which will yield the exact same result !I figured it out. It was the event log files in `%SystemRoot%\System32\Winevt\Logs`. This particular server did not have the standard "overwrite events as needed" as all of the other servers did. The log files, however, were not
being pruned so they kept stacking up.
This explains exactly why over a weekend period there would be hardly any change in the free space file size.
The `WinDirStat` software showed this space as "Unknown" space despite "running as Administrator" and I did start to notice the trend of "Unknown" space increasing as I started to track the `WinDirState` screenshots twice a day.
What eventually led me to the log files was using [Disk Space Fan][1] and comparing the reported sizes. As you can see, the Windows folder on `WinDirStat` shows 24.6 GB while `Disk Space Fan` shows 116 GB. Drilling down further into Windows\System32
and looking at the "Top List" shown in Disk Space Fan I noticed that WinDirStat did not have the `winevt` folder and that it showed 89.7 GB of space usage.
The local administrator group, which has the Domain Admins added to it, had full control over the folder so understanding why WinDirStat did not pick up these folders is beyond me. -
Massive Memory Leak Caused by USB Connection
I have a Sansa Fuze MP3 player. I noticed when I connected it via USB both to an iMac 27" late 2009 and MacBook Pro 15-inch early 2011, both machines would grind to a halt. get very hot, and run the CPUs at full blast. The Finder would quickly become unresponsive. There were huge (like 500 GB) virtual memory files. Disk Utility could not repair the drive. Reformatting the MP3 player using its System menu finally cured the problem. Seems like Lion should have a better way of handling misbehaving peripherals.
i forgot to include one line, but i didn't see why it made a difference:
ConcurrentMap<Connection, Boolean> connPool = this.createConnPool();
for(;;) {
sok.receive(dgPak);
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(dgPak.getData()));
MyInterface foo = (MyInterface) ois.readObject();
foo.assignSharedMap(connPool); // <-- forgot to include this one line.
foo.doStuff();
foo = null;
System.gc();
}the number of de-serializations still equals the number of " +public void finalize();+ " invocations.
note: i never add new connections to the pool. it "looks" like a ConcurrentMap
does not allow objects that reference it to compleley die. (if this behaviour is as to be expected , my apologies, and could you explain a safe way for multiple objects to share a common Collection ?)
this code works fine:
for(;;) {
sok.receive(dgPak);
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(dgPak.getData()));
MyInterface foo = (MyInterface) ois.readObject();
foo.doStuff();
foo = null;
System.gc();
}at this stage of de-bugging i could have tested with just a regular java.util.Map<Connection, Boolean> but forgot. i am using a
completely different approach now, so i'm not going back to test, though i bet it is related to java.util.concurrent. . -
ITunes 7/CoverFlow Massive Memory Leak
Using CoverFlow with 200 albums uses over 500MB of system memory, and never releases this memory. Even when I return to grid mode, over 300MB are still being used. See http://www.hicks-wright.net/blog.php?id=5162 for a full repro.
It will get fixed. The issue for those of us with lower speed machines and lower memory is that the software completely crashes for this reason when you switch to view the TV or Movie directory in the Store. In effect, I cannot view those two areas - which means I cannot buy anything - which means that Apple isn't making money. They're not going to fix something that won't benefit them - money is a good motivator to see a quick fix coming.
-
ITunes 11 Memory leak when search box is clicked, large library
Mac pro running 10.7 8-core 14gb ram, itunes library on a striped array
scrolling performance is a huge improvement but the app hangs when the search bock is clicked on
and it goes into a massive memory leak, see attached screen grab
works fine in mountain lion with a smaller library, so I assume its choking on my 140,000 tunes ?I have the same problem. iTunes will eat up 80gb of space if I leave it running; eventually I have to force quit it, and slowly after that the hard drive space returns.
I wasn't sure if it was choking on the search tool, but I have a fairly large library also, so it would make sense.
Anyone got any good fixes for this? -
Well this is an odd one I must say.
I have an application where I would like the front panel to disappear
at the user's discretion so it's not in the way while it's processing
information in the background. To process the information I have
a custom DLL and to check the progress of the custom DLL, I have a
routine that I can call that will return the status. So the
information processor is called and it just runs in the background, and
then the status routine is called in a parallel loop until the status
routine determines that the processing is finished. When the
status routine says it's done, the parallel loop exits and another
routine sets a flag for the processor to exit (so everything quits).
In order to make the DLL calls work right as far as execution
sequencing, they are called as re-entrant. I stumbled across that
orginally because it was locking things up when I was trying to call
them in parallel.
I have no memory leaks in the external DLL calls and this is verifiable
by running the processing routine indefinitely while checking the
status indefinitely. The problem is when I open a VI reference to
the main VI then make it's front panel not visible. At that
point, memory usage starts increasing by 400k/sec (which is larger than
the entire DLL). It will eventually just crash the system.
If I set the front panel to be closed on a timer (for several seconds
say), the memory usage will increase for that amount of time and then
stop once the FP is opened again.
I know this is really difficult without having some code to look at but
it would be really hard for me to dumb down the code to get the problem
in a simple set of VI's to look at. I'm wondering however if the
reentrant DLL calls are having some weird interaction with windows
since I'm guessing at a lower level, the application's window handle is
invalidated when the front panel is closed. I'm wondering if the
reentrant DLL status call is having new memory allocated for it every
time it is called in the status loop. I just can't figure out how
that has anything to do with the front panel being closed though.
Any suggestions on things to try or look at?Well after tweaking around, running the DLL calls in the UI thread
instead of as re-entrant fixes the massive memory leak. I can't
think of a good reason why that isn't a bug, but whatever.
Perhaps it's not crashing the program now when running in the UI Thread
since each DLL call is actually in it's own re-entrant VI
wrapper. Hmmm... -
Hello. I am having an issue with Flash 9 and wasnt sure if
this needed to be posted in here or general. I figured that I would
need some kind of code to fix this so I posted it in here.
This is my issue..the typical dreaded memory leak problem.
The project looks very similar to this:
We have, say, 100 individual images in the library. Each
image is an 800x600 jpg file. We create a layer and put each image
on a frame. About every so many frames, (lets say frame 33 or frame
66) we stop at that point and ask a question and wait for some kind
of response from the user. If its the correct response, we continue
on, if not, we just repeat the question till they get the answer
correctly. There are also fscommands that send out to an external
application if the user clicked the correct or incorrect answer at
these points.
However, this is causing a rather massive memory leak. I was
wondering if there is a solution either by code or we are just
doing something wrong, to help fix our memory leak issue. Some
files in our projects are small enough to not notice it but we have
one particular file that is around 500 frames of animation and you
can imagine how hungry flash got with this one.
Any suggestions?Lots of ideas:
First thing? Check the File Free at Options > Status, what is the number at File Free? Now, remove the battery of your device, hold a minute, replace and reboot. What is the File Free now?
Read this: http://www.blackberryforums.com/general-blackberry-discussion/116396-managing-your-bb-memory-lost-ca...
And this: http://www.blackberryforums.com/general-blackberry-discussion/112029-losing-call-logs-sms-emails-opt...
Additional links to read:
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB15345&sliceId=SAL_Pub...
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB14320&sliceId=SAL_Pub...
http://www.blackberry.com/btsc/dynamickc.do?externalId=KB14213&sliceId=SAL_Public&command=show&forwa...
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Evony Memory Leak in Flash Player
Is there a work-around of any sort for the massive memory leak in the Evony flash player based game? When you play this game actively, opening dialogs, and submitting attack, the game can easily leak 250MB/hour until the browser grows in size to well over 1GB, before either crashing or becoming unacceptably slow to interact with.
This problem is well known on the Evony forums and easily verified by numerous people. Just google "Evony memory leak".
It has been repro'ed on all browsers and all platforms that have the Adobe Flash player. Is this being investigated? Does the dev team know about this problem? Is there already a thread on it here somewhere that I missed?
Thanks,Also see:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1249396&enterthread=y
Flash is generating around 300 page faults per second per
flash animation
Performance
issues: page faulting
Flash is also generating around 300 page faults per second.
This can be observed by following the instructions in the link
above for displaying page faults in the system task manager. -
KeyboardFocusManager reason for memory leak?
Hi all,
with a memory leak detector we found that our application has massive memory leaks after opening and closing a JDialog and the reason we found was the following:
The KeyboardFocusManager has a private static HashMap in which the actual focus in each window is stored. This is done by storing key/value-pairs in the HashMap with window as a key and the Component having the focus on this window as the value. Now you can throw the reference to the component away by using e.g. theComponent.setEnabled(false) - the KeyboardFocusManager then stores the pair window/null in the HashMap - but we didn't find any callable method to remove a key/value-pair from the HashMap and so the reference to the JDialog (as the key!!) stays resident and we have the reason for the memory leak. Now I have a few questions to this problem:
1. Is it right in your opinion, that there is no method to delete the entry from this Hashtable?
2. If this is the case - we have the opinion that there must be a good time to delete this entry (e.g. when disposing the dialog). Do you see if there is an obvious reason that this opinion is false?
3. If no do you think this problem can be accepted as a bug by sun
Thanks in advance and greetings from
HolgerI have been seeing similar behavior; I too have not found all the
leaks. I think I have slowed the allocation by replacing some of my
'build array' functions with the combination of 'initialize array'
followed by 'replace array subset'. The drawback to doing it this way
is that you have a fixed maximum number of elements allocated just once
rather than allowing an array to grow incrementally. Please let me know
if you try removing build arrays and if that helps.
By the way, there is a checkbox under the options menu to deallocate
memory as soon as possible - if you don't mind that your program runs
more slowly, this may help to avoid the problem, at least temporarily.
-vinny
ciossek wrote:
> dear all,
> my labview program needs an increasing amount of memo
ry when running
> (at the time about 12k/s) which leads to swapping memory on my hdd.
> i have found out that calling cluster references like Controls[] or
> decos[] leads to this kind of memory leak and made a work around for
> that (simply calling it only once at runtime) but there are more
> memory leak(s)which i cannot find. The bugs that i have found
> searching the labview resources does not answer my problem.
>
> does anybody already found out more memory leak problems ?
>
> thanks -
Can't find the memory leak in Managed Object
Hey guys...I am trying to find the memory leak that Instruments says I have in this section of code setting up a managed object:
oCurrentSection = (Section*) [NSEntityDescription insertNewObjectForEntityForName:@"Section" inManagedObjectContext:[[CoreDataManager sharedData] oManagedObjectContext]];
oCurrentSection.nsSectionName = [attributeDict objectForKey:@"name"];
oCurrentSection.nsImgUrl = [attributeDict objectForKey:@"imgURL"];
oCurrentSection.nsDesc = [attributeDict objectForKey:@"desc"];
oCurrentSection.iOrder = [NSNumber numberWithInt: [[attributeDict objectForKey:@"order"] intValue]];
Can anyone help me out?Thanks everyone! That makes a lot more sense. Yes, kjon, I do come from windows. But please don't reference my troubled past. Actually, I typically use "ps aux | sort -n +3 | tail -1" rather than simply "ps aux" - I just wanted to make sure I wasn't missing something by looking at only the top memory-user. Glad to know there's no massive memory leak in my system
Procyon, what's wrong with a huge swap? Wouldn't you do it too if you were given a system with 200GB hdd more than necessary and told to make a webserver?
[root@norpass ~]# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 7.9G 1.1G 6.8G 14% /
none 1.1G 0 1.1G 0% /dev/shm
/dev/sda1 40M 9.9M 28M 27% /boot
/dev/sda4 238G 4.5G 234G 2% /home
Maybe you are looking for
-
Sales Order Created with one SH and want to change SH before delivery
Hi SAP Experts, I need your confirmation on this. today our Business is following a concept of Multiple SH. description: while creating a sales order the SP and SH are same. at the time of delivery we might have a chance to change the SH here all the
-
CMP additional field in join table
I'm sorry if this question was already post on the forum, but I could not find any answer.... I have an existing application which is using CMP entity beans. A and B have a many to many relation, then the relation is mapped to a join table with 2 col
-
CS3 software updates - how to check
Hi all. Could someone please tell me how I go about checking for software updates with CS3? For instance its easy for Mac OSX, you just click on 'software update' in system preferences, but I'm not sure how to do it in CS3? Any help would be most wel
-
I am trying to install Oracle IFS 1.0.8 on Oracle8i Enterprise Edition 8.1.5. (on winnt server) and could not install properly.I faced following problems. 1. I could not configure ifs with oracle database. 2.I could not start IFS after loading. When
-
Why does my genius update every time i sync
Every time i connect my iphone to itunes and sync it, at the end of the sync process on step 6 of 6 it says "syncing genius data copying 266 items to iphone" This is not really an issue, except if when it finishes the sync, and i click the sync butto