Determine System free memory (Not memory allocated to JVM)
Hi,
I have a Swing application in which I am trying to display the available free memory and total memory for the client machine on which it is running.
Runtime.getRuntime().freeMemory() and Runtime.getRuntime().totalMemory() gives me relative to the JVM occupied memory, and not the System's physical memory.
Is there any way I can capture that?
Thanks,
M
Is there any way I can capture that?Not really.
For one thing on most operating systems it isn't possible to distinguish between physical and virtual memory, and since virtual memory can grow or shrink, and pages can be swapped (hopefully) seamlessly between the two it isn't really a useful question. On most OSes I believe you can get information about the total memory being used (physical + virtual) at a given moment but to get that in java is probably difficult or impossible, and certainly something you'd have to write non-java code for.
Similar Messages
-
Hi
How do I allocate Contiguous memory space to JVM 1.3 in Windows and AIX?
Regards
SudhindraHi
You are right. But the issues here is performance
enhancement. I feel that when we are talking about
huge volumes of data and transaction performance will
be enhanced if the memory allocated is contigous.
As far as I know all modern platforms use virtual addressing. The overhead of that applies regardless of layout of physical memory. So I am not sure how contiguous blocks would help.
So can you please tell me how to do this? Where can i
get more information about this?
Like I said maybe it is specific to your platform. If so you need to look to the docs about your platform. And the only way you are going to get any advantage from java objects from that is if you write your own jvm. -
What is the default memory allocation for JVM
Hi,
Can anybody please let me know the default heap memory allocation(both min & max) for JVM, if we don't provide memory arguments (-Xms -Xmx) on 32-bit linux & windows machines having 4GB RAM?
Thanks,
Sureshuser641407 wrote:
Hi,
Can anybody please let me know the default heap memory allocation(both min & max) for JVM, if we don't provide memory arguments (-Xms -Xmx) on 32-bit linux & windows machines having 4GB RAM?
Starting with 5.0, per the Sun VM docs.
http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
+"-Xmsn ... The default value is chosen at runtime based on system configuration."+
+"-Xmxn ... The default value is chosen at runtime based on system configuration."+
What other documentation are you looking for? -
How much memory is allocated to JVM when we run a java program, and does it keep increasing as and when more memory is required or it remains fixed?
Is it possible to change the memory allocated to JVM,
say make it 64 MB, or reduce it to 16 MB?
java -Xmx<memory size here/> ... -
Free Stmt Handle NOT release Memory allocated inDefineByPos[LongRaw]
My Question is : Why Free Stmt Handle does not release the memory OCI allocated during OCIDefineByPos for data type "Long Raw"
Please notice the Bold Fonts in the dtrace logging. Ptr is the pointer returned by malloc. Size is the memory size allocated.
I use OCI to fetch records, each round I will fetch 1000 records. I found memory increase round by round. So I use dtrace to probe the memory malloc/free. At the end of each round, I will free the handle of SQL Statement. According the documentation, all the sub handles belongs to stmt handle should be free also. But I noticed that memory allocated during DefinebyPos for LongRaw did not get released.
1. The SQL Send to DB each round is the same.
2. I do the "Define" each round. So It's actually a "RE-Define" each round.
The length of Long Raw is 512K. Here's the dtrace result when I call the OCIDefineByPos. There's a 2MB memory allocated, I don't know the reason.
CPU ID FUNCTION:NAME
3 45971 free:entry Ptr=0x247652d0 Size=0 TS=1568035638893113 FreeTime=2008 Jul 20 23:26:09
libc.so.1`free
libclntsh.so.10.1`sktsfFree+0x18
libclntsh.so.10.1`kpummfpg+0xb6
libclntsh.so.10.1`kghfrempty+0x17c
libclntsh.so.10.1`kghgex+0x13c
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kpuhhalo+0x1fd
libclntsh.so.10.1`kpuex_reallocTempBufOnly+0x5f
libclntsh.so.10.1`kpuertb_reallocTempBuf+0x36
libclntsh.so.10.1`kpudefn+0x2d1
libclntsh.so.10.1`kpudfn+0x39e
libclntsh.so.10.1`OCIDefineByPos+0x38
scrubber`_ZN29clsDatabasePhysicalHostOracle6DefineEN7voyager15eBayTypeDefEnumEiPhiPs11EnumCharSet+0x17f
3 45966 malloc:return Ptr=0x252ad100 Size=524356 TS=1568035638916654 AllocTime=2008 Jul 20 23:26:09
libc.so.1`malloc+0x49
libclntsh.so.10.1`kpummapg+0xcc
libclntsh.so.10.1`kghgex+0x1aa
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kpuhhalo+0x1fd
libclntsh.so.10.1`kpuex_reallocTempBufOnly+0x5f
libclntsh.so.10.1`kpuertb_reallocTempBuf+0x36
libclntsh.so.10.1`kpudefn+0x2d1
libclntsh.so.10.1`kpudfn+0x39e
libclntsh.so.10.1`OCIDefineByPos+0x38
scrubber`_ZN29clsDatabasePhysicalHostOracle6DefineEN7voyager15eBayTypeDefEnumEiPhiPs11EnumCharSet+0x17f
scrubber`_ZN18clsDatabaseManager6DefineEN7voyager15eBayTypeDefEnumEiPhiPs+0x13c
scrubber`_ZN17clsDatabaseOracle13DefineLongRawEiPhiPs+0x2f
3 45971 free:entry Ptr=0x2476ab30 Size=0 TS=1568035639035363 FreeTime=2008 Jul 20 23:26:09
libc.so.1`free
libclntsh.so.10.1`sktsfFree+0x18
libclntsh.so.10.1`kpummfpg+0xb6
libclntsh.so.10.1`kghfrempty+0x17c
libclntsh.so.10.1`kghgex+0x13c
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kpuhhalo+0x1fd
libclntsh.so.10.1`kpuertb_reallocTempBuf+0x8f
libclntsh.so.10.1`kpudefn+0x2d1
libclntsh.so.10.1`kpudfn+0x39e
libclntsh.so.10.1`OCIDefineByPos+0x38
scrubber`_ZN29clsDatabasePhysicalHostOracle6DefineEN7voyager15eBayTypeDefEnumEiPhiPs11EnumCharSet+0x17f
scrubber`_ZN18clsDatabaseManager6DefineEN7voyager15eBayTypeDefEnumEiPhiPs+0x13c
3 45966 malloc:return Ptr=0x2532d150 Size=2097220 TS=1568035639040090 AllocTime=2008 Jul 20 23:26:09
libc.so.1`malloc+0x49
libclntsh.so.10.1`kpummapg+0xcc
libclntsh.so.10.1`kghgex+0x1aa
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kghgex+0x1e6
libclntsh.so.10.1`kghfnd+0x28a
libclntsh.so.10.1`kghalo+0x669
libclntsh.so.10.1`kpuhhalo+0x1fd
libclntsh.so.10.1`kpuertb_reallocTempBuf+0x8f
libclntsh.so.10.1`kpudefn+0x2d1
libclntsh.so.10.1`kpudfn+0x39e
libclntsh.so.10.1`OCIDefineByPos+0x38
scrubber`_ZN29clsDatabasePhysicalHostOracle6DefineEN7voyager15eBayTypeDefEnumEiPhiPs11EnumCharSet+0x17f
scrubber`_ZN18clsDatabaseManager6DefineEN7voyager15eBayTypeDefEnumEiPhiPs+0x13c
scrubber`_ZN17clsDatabaseOracle13DefineLongRawEiPhiPs+0x2f
scrubber`_ZN5dblib11DbExtractor18DefineLongRawFieldEiPhiPs+0x2bAssumption : You are using OCIHandleFree((dvoid*)DBctx->stmthp,(ub4)OCI_HTYPE_STMT);
There are two scenarios here the LONG Raw mapping and release of memory.
Unlike the other data types LONG Raw memory mapping is different since the data type requires more memory chunks.
45971 free:entry Ptr=0x2476ab30 Size=0 TS=1568035639035363 FreeTime=2008 Jul 20 23:26:09
libc.so.1`free
Since from the above statement it clear that free is called . Hence there may be chance in other area of the code I suspect the memory leak is (Like native storage).
Moreover the standard OS behavior is that it will not release the Heap/Stack until the process is complete even the free() is called by the process. This is for performance on memory management.Having said that it should not increase the memory drastically when not required. -
I have just had a Windows XP failure and took the opportunity to replace with Windows 7. After I reinstalled PhotoShop CS(1) the message "Memory could not be allocated for the activation process. Please close all applications and try again" is shown and forces PhotoShop to close. I have 4Gb of Ram installed and a total of about 10Gb of Page File space on three partitions of a 500Gb HDD. The system is not heavily loaded! However, I cannot access Photoshop to check scratch disk allocation. How to fix???
Back to topYes, there are many forums, and it can be confusing. Your question has the best chance of being answered if it is in the proper place. I think it is there now.
Pattie
http://forums.adobe.com/message/5092533#5092533 is your post address
Download and installation forum:
http://forums.adobe.com/community/download_install_setup -
Hello,
Just purchased a new laptop:
Intel Core 2 quad
4gb memory
1000 HDD
Photoshop CS 8.0 disc dead/scratched/unreadable. So I copied my Adobe folder from my Program Files Folder on my PC and pasted on laptop. When I try and run PS I get the error message "Memory could not be allocated for the activation process. Please close all applications and try again". Which I do then Photoshop closes.
Can anyone help (in layman terms please)?Not really. You are essentially FUBARd. Without a proper install, there is usually no way on to get the licensing stuff working. You might be able to get there by installing any other CS product, so PS could latch on to the licensing system that would be already in place, but otherwise it's a lost cause. Simply copying over the executables is normally not enough. I will admit though, that I skipped CS, so there may be some tool somewhere that I don't know about can do this post facto...
Mylenium -
I'm a computer novice, no technical knowledge whatsoever.. need your help
I use an Intel iMac, 4 GB RAM running on 10.6.8 for over a year without any glitches
2 days ago, noticed that the HD space was reducing rapidly from startup..
Activity monitor showed that fseventsd [and to and extent kernel_task] was using all the free memory and then the virtual memory was being used, system hanging within a few minutes of login
The same happens with the other user account and the guest account.. But works fine in safe mode. Windows XP through bootcamp works fine.
Unable to run any program long enough to obtain any results as the system hangs in no time
I ran disk utility and verified and repaired lot of differing permissions [Lot of SUID warnings could not be repaired] . Disk seems to be fine
Not sure these are related:
-2 days prior to this , many .mp4 files, which I had downloaded from Youtube were vanishing [and sometimes reappearing, but not for long] from a folder on my Seagate ext HDD
-Couple of days prior to that, Vuze [which uses the same seagate HDD] was making the system hang, requiring a forced shutdown
-From a week prior to all this, Picasa was asking for update, but could not be updated
This is the Etrecheck report [run in safe mode]
EtreCheck version: 1.9.12 (48)
Report generated 28 July 2014 10:06:57 AM GMT+05:30
Hardware Information:
iMac (20-inch, Early 2008) (Verified)
iMac - model: iMac8,1
1 2.66 GHz Intel Core 2 Duo CPU: 2 cores
4 GB RAM
Video Information:
ATI Radeon HD 2600 Pro - VRAM: 256 MB
iMac 1680 x 1050
spdisplays_display_connector
System Software:
Mac OS X 10.6.8 (10K549) - Uptime: 0 days 0:56:24
Disk Information:
WDC WD3200AAJS-40VWA1 disk0 : (298.09 GB)
- (disk0s1) <not mounted>: 200 MB
Macintosh HD (disk0s2) / [Startup]: 195.88 GB (16.11 GB free)
BOOTCAMP (disk0s3) <not mounted>: 101.89 GB
USB Information:
Apple, Inc. Keyboard Hub
Mitsumi Electric Apple Optical USB Mouse
Apple, Inc Apple Keyboard
Apple Inc. Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Configuration files:
/etc/sysctl.conf - Exists
/etc/hosts - Count: 30 - Corrupt!
Kernel Extensions:
[not loaded] com.AmbrosiaSW.AudioSupport (2.3.8) Support
[not loaded] com.Cycling74.driver.Soundflower (1.5.1) Support
[not loaded] com.ZTE.driver.ModemDriverMac (1.0.2d1) Support
[not loaded] com.roxio.BluRaySupport (1.1.6) Support
[not loaded] com.roxio.TDIXController (1.7) Support
Startup Items:
HP Trap Monitor: Path: /Library/StartupItems/HP Trap Monitor
Problem System Launch Agents:
[loaded] com.paragon.NTFS.trial.plist Support
[loaded] com.paragon.NTFS.upd.plist Support
Launch Daemons:
[not loaded] com.adobe.fpsaud.plist Support
[not loaded] com.barebones.textwrangler.plist Support
[not loaded] com.cleverfiles.cfbackd.plist Support
[not loaded] com.distortedvista.istatmenusprocessserver.plist Support
[not loaded] com.google.keystone.daemon.plist Support
Launch Agents:
[not loaded] com.canon.SPPHelper.plist Support
[not loaded] com.google.keystone.agent.plist Support
[not loaded] jp.co.canon.SELPHYCP.BG.plist Support
User Launch Agents:
[not loaded] com.adobe.ARM.[...].plist Support
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
User Login Items:
SmartDaemon
GrowlHelperApp
iTunesHelper
iStat menus Helper
Dropbox
Android File Transfer Agent
RealPlayer Downloader Agent
SurplusMeterAgent
Internet Plug-ins:
DirectorShockwave: Version: 12.0.3r133 - SDK 10.6 Support
o1dbrowserplugin: Version: 5.4.2.18903 Support
Unity Web Player: Version: UnityPlayer version 4.1.5f1 Support
Flip4Mac WMV Plugin: Version: 2.3.8.1 Support
RealPlayer Plugin: Version: (null) Support
Silverlight: Version: 4.0.60310.0 Support
FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
Flash Player: Version: 14.0.0.145 - SDK 10.6 Support
QuickTime Plugin: Version: 7.6.6
googletalkbrowserplugin: Version: 5.4.2.18903 Support
iPhotoPhotocast: Version: 7.0
AdobePDFViewer: Version: 9.5.3 Support
EPPEX Plugin: Version: 3.0.5.0 Support
JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
Safari Extensions:
AdBlock: Version: 2.5.42
ClickToPlugin: Version: 2.7
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.2
User Internet Plug-ins:
fbplugin_1_0_3: Version: (null) Support
Picasa: Version: 1.0 Support
3rd Party Preference Panes:
Flash Player Support
Flip4Mac WMV Support
Growl Support
iStat menus Support
Paragon NTFS for Mac ® OS X Support
Perian Support
Top Processes by CPU:
99% plugin-container
5% WindowServer
2% firefox
1% fontd
0% Finder
Top Processes by Memory:
651 MB firefox
49 MB WindowServer
49 MB Finder
41 MB Console
37 MB Preview
Virtual Memory Information:
1.26 GB Free RAM
839 MB Active RAM
724 MB Inactive RAM
1.21 GB Wired RAM
217 MB Page-ins
0 B Page-outs
I had an HP printer 2 years ago, but now have a Canon. Retained the HP software which I still use for editing and printing
Last night, I uninstalled little snitch, elmediaplayer and updated Adobe flash player
What Should I do next? Please advise
Warm Rgdssudo fs_usage in terminal yielded these results:
tried to show a sample of each type
18:40:01 getdirentries64
0.000056 fseventsd
18:40:01 getdirentries64
0.000052 fseventsd
18:40:01
RdMeta
0.000376 W mdworker
18:40:01 getdirentries64
0.000055 fseventsd
18:40:01 getdirentries64
0.000046 fseventsd
18:40:01 getdirentries64
0.000055 fseventsd
18:40:01 getdirentries64
0.000045 fseventsd
18:40:01 getdirentries64
0.000055 fseventsd
18:40:01 getdirentries64
0.000044 fseventsd
18:40:01 getdirentries64
0.000056 fseventsd
18:40:01
RdMeta
0.000399 W mdworker
18:40:01 getdirentries64
0.000055 fseventsd
18:40:10 getdirentries64
0.000008 mdworker
18:40:10 close
0.000004 mdworker
18:40:10 getdirentries64
0.000046 fseventsd
18:40:10 stat64
poser.mdimporter/Contents
0.000017 mdworker
18:40:10 open
poser.mdimporter/Contents
0.000006 mdworker
18:40:10 fcntl
0.000001 mdworker
18:40:10 fstatfs64
0.000002 mdworker
18:40:10 getdirentries64
0.000015 mdworker
18:40:10 getdirentries64
0.000007 mdworker
18:40:10 close
0.000003 mdworker
18:40:40 read
0.038712 W fseventsd
18:40:40 read
0.000004 mds
18:40:40 fcntl
0.000004 mds
18:40:40 pread
0.000006 fontd
18:40:40 pread
0.000005 fontd
18:40:40 pread
0.000004 fontd
18:40:40 pread
0.000004 fontd
18:40:40 pread
0.000004 fontd
18:40:40 getattrlist
/Library/Fonts
0.000016 fontworker
18:40:40 statfs64
/Library/Fonts
0.000004 fontworker
18:40:40 getattrlist
/Library/Fonts
0.000006 fontworker
18:40:40 getattrlist
/Library
0.000020 fontworker
18:40:40 getattrlist
0.000005 fontworker
18:40:40 getdirentries64
0.002230 W fseventsd
18:40:40 getdirentries64
0.000058 fseventsd
18:40:40 stat64
/Library/Fonts
0.000016 fontworker
18:40:40 open
/Library/Fonts
0.000007 fontworker
18:40:40 fcntl
0.000001 fontworker
18:40:40 fstatfs64
0.000002 fontworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getdirentries64
0.000066 fontworker
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 getdirentries64
0.000044 fseventsd
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getdirentries64
0.000060 fontworker
18:40:40 getdirentries64
0.000044 fseventsd
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 getdirentries64
0.000045 fontworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getdirentries64
0.000008 fontworker
18:40:40 close
0.000004 fontworker
18:40:40 getattrlist
Fonts/ACaslonPro-Bold.otf
0.000009 fontworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getattrlist
ACaslonPro-BoldItalic.otf
0.000008 fontworker
18:40:40 getdirentries64
0.000044 fseventsd
18:40:40 getattrlist
nts/ACaslonPro-Italic.otf
0.000007 fontworker
18:40:40 getattrlist
ts/ACaslonPro-Regular.otf
0.000007 fontworker
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 getattrlist
s/ACaslonPro-Semibold.otf
0.000007 fontworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getattrlist
lonPro-SemiboldItalic.otf
0.000007 fontworker
18:40:40 getattrlist
onts/AdobeArabic-Bold.otf
0.000007 fontworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getattrlist
dobeArabic-BoldItalic.otf
0.000007 fontworker
18:40:40 getattrlist
ts/AdobeArabic-Italic.otf
0.000007 fontworker
8:40:40 getattrlist
t/Cambria Bold Italic.ttf
0.000007 fontd
18:40:40 getattrlist
/Library
0.000014 fontworker
18:40:40 getattrlist
0.000015 fontworker
18:40:40 getattrlist
t/Cambria Bold Italic.ttf
0.000022 fontd
18:40:40 pread
0.000006 fontd
18:40:40 getattrlist
icrosoft/Cambria Bold.ttf
0.000017 fontd
and a lot many font names
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 lstat64
og/launchd-shutdown.log.1
0.000027 mdworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000006 mdworker
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000011 mdworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 open
og.1//Contents>>>>>>>>>>>
0.000009 mdworker
18:40:40 getdirentries64
0.000044 fseventsd
18:40:40 open
og/launchd-shutdown.log.1
0.000007 mdworker
18:40:40 fstat64
0.000002 mdworker
18:40:40 fcntl
0.000002 mdworker
18:40:40 flistxattr
0.000003 mdworker
18:40:40 close
0.000005 mdworker
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000007 mdworker
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000005 mdworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000010 mdworker
18:40:40 getattrlist
/private/var/log
0.000006 mdworker
18:40:40 getattrlist
-shutdown.log.1/.DS_Store
0.000006 mdworker
18:40:40 getattrlist
og/launchd-shutdown.log.1
0.000006 mdworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 open
private/var/log/.DS_Store
0.000012 mdworker
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 fstat64
0.000002 mds
18:40:40 open
0.000005 mds
18:40:40 pthread_fchdir
0.000001 mds
18:40:40 pthread_fchdir
0.000002 mds
18:40:40 close
0.000003 mds
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 lstat64
System/Library/Extensions
0.000006 mdworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getattrlist
System/Library/Extensions
0.000006 mdworker
18:40:40 getattrlist
System/Library/Extensions
0.000008 mdworker
18:40:40 getattrlist
y/CoreServices/Finder.app
0.000007 mdworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getattrlist
y/CoreServices/Finder.app
0.000008 mdworker
18:40:40 open
System/Library/Extensions
0.000007 mdworker
18:40:40 fstat64
0.000002 mdworker
18:40:40 fcntl
0.000001 mdworker
18:40:40 flistxattr
0.000003 mdworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 close
0.000003 mdworker
18:40:40 getattrlist
System/Library/Extensions
0.000006 mdworker
18:40:40 getattrlist
System/Library/Extensions
0.000005 mdworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getattrlist
System/Library/Extensions
0.000010 mdworker
18:40:40 getattrlist
/System/Library
0.000006 mdworker
18:40:40 access_extended System/Library/Extensions
0.000009 mdworker
18:40:40 getattrlist
rary/Extensions/.DS_Store
0.000019 mdworker
18:40:40 getdirentries64
0.000055 fseventsd
18:40:40 getattrlist
System/Library/Extensions
0.000006 mdworker
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 open
/System/Library/.DS_Store
0.000012 mdworker
18:40:40 getdirentries64
0.000056 fseventsd
18:40:40 getdirentries64
0.000045 fseventsd
18:40:40 getdirentries64
0.000057 fseventsd
18:40:40 fcntl
0.000002 mds
18:40:40 getdirentries64
0.000044 fseventsd
18:40:40 getdirentries64
0.000057 fseventsd -
System Memory Usage: What Eats My Free Memory?
For some time, I have noticed that my computer gets slower the longer I leave it on and do not restart.
Recently, I began displaying system memory usage from the activitiy monitor to see what's going on.
I noticed that no matter what I do, the Inactve Memory grows and the free memory disappears.
I thought it was due to memory hogs like Photoshop, FCP, etc. But even when I quit those programs, the Inactive Memory remains large and only the Active Memory shrinks.
The Inactive Memory grows even (especially?) when I perform finder operations, like previewing file contents in the finder.
Eventually, I get to the point where the free memory disappears and the machine begins to slow down (or at least seems to).
What's going on and what, if anything can I do to keep this from happening?
I'm running an iMac3.4GHz Intel Core i7 with 8 Gigs of RAM and OS 10.6.8.Thanks. I'm not sure what you mean by "screen saver without energy saver" overnight. My settings are screen saver after about 30 minutes, computer sleep after 1 hour. Do you mean run the computer sleep slider up to "Never?"
Otherwise:
--I don't use any of the programs you mentioned.
--I don't think I've ever seen Spotlight indexing
--Time Machine runs every hour of course, but nothing seems to change when it does.
--My 2 TB hard drive is only about 45% full.
--I usually quit programs, and especially Photoshop, when not in use.
--I do reboot occasionally, usually when I see Free Memory disappear. This is usually every few days.
--I use Time Machine to backup using default settings. My 2 TB drive is about 55% full.
I'll slide the energy saver slider over to "never" per the above and see how things go after a few days.
Thanks for your help -
Set get parameter but free memory id is not working
Hi All,
I am using set get parameter to transfer data from one module to another .
But when i am trying to clear the memory id using Free memory id .
it is not doing that.
Does it work with import export.
What method i should use to clear this memory id ..
Thanks in advance
ANit gautamClears the memory:
SET PARAMETER ID pid FIELD space. -
I have copied videos onto an external hard drive. to free memory on my macbook. When I try to delete these I am woarned that I will not be able to use this video in existing projects
How do I point iMovie to events in my external hard drive so I can play projects which use them?
MacBook, iMovie 9.0.4Hi
You can do this - by not doing it the way You describe as it will not work.
a. the external hard disk - MUST BE - Mac OS extended (hfs) formatted -
UNIX/DOS/FAT32/Mac OS Exchange - will work for most things - BUT NOT FOR VIDEO (iMovie, iDVD or FinalCut doesn't matter)
b. Do not alter or move any folder named
• iMovie Event's - or -
• iMovie Project's
on DeskTop/Finder - at all
All moving's of Events and Projects must be done within the iMovie Application - then connections will not break.
(move them back and see if iMovie remembers them - then do move as described above)
Yours Bengt W -
Memory Could Not Be Allocated For the Activation of PhotoShop
CS2 Intel P4 3.0GhzHT, 3-4GB Ram WinXP
Photoshop won't open for me. It used to. Any idea how I might fix this?
When I try to open Photoshop, I get "Memory could not be allocated for the activation process. Please close all applications and try again."
I've done this with no applications after a fresh reboot and get the same message.
It only started recently. Photoshop used to open for me and was usable.
I got 3 or 4 GB of ram. I can't remember, but WinXP only sees about 3GB anyway. Either way should be more than enough, no?Lee71 wrote:
hey john, thanks for resuscitating the topic. I on XP and it’s PS8
I have defragged, cleaned disc, etc.
In terms of symptoms, PS opens up and once open the prompt comes up. I hit okay and it shuts down.
i have tried CTRL + ALT + SHIFT whilst PS boots up; i get the prompt "ÿou currently have Adobe Photoshops primary Scratch and Windows' primary paging file on the same volume, which can result in reduced performance. It is reommmended that you set PS Primary Scratch Volume to be on a differrent volume, preferably on a different physical dirve."
I guess this means reinstall, partition and set up on a partitioned drive? I don't particularly want to take this course of action if there is an alternative. It doesn't make sense given I've got plenty of space.
No no need for that!
The message about the scratch drive is normal: the CTRL + ALT + SHIFT resets the preferences to the default for a single HDD. If you have more than one, go into Edit > Preferences > Performance and set the primary scratch drive to the one without the paging file.
Once you have OK'd that message it should go away if you do only have one HDD.
Partitioning will not do anything. The object of the separate drives (if you have them) is to avoid conflict between Scratch and Page file.
Do you still have your original problem? -
There is not enough free memory to run this program
Hi all,
I am running into an issue with OfficeXP SP3 that has been virtualized using ZAV 8.0.1 and registered using the msi method. First, when you try to open a document from a web browser (Firefox in my case) it will open the downloads window and show the file but never launch the virtualized Office. Then if you try double-clicking on the document in the downloads window, nothing happens. If you open the folder that the document was saved to and double-click on it nothing happens. If you go into open with and choose the virtualized officexp it gives this error: "There is not enough free memory to run this program. Quit one or more programs, and then try again."
Now here is the really odd thing, you can double-click on a word/excel/etc document in MyDocuments, a network drive, anywhere and it will open the appropriate officexp application just fine. I will also mention that firefox is virtualized as well but the same process works fine with openoffice.org.
This also happens if you choose to save the file to a specific location. It cannot be opened. However I just discovered that if you move it to somewhere else, say the desktop, it will open just fine.
Anyone have an idea what might be causing this issue? Is it somehow related to the sandbox?
Thanks,Look in the class section of the registry for the FF virt app... See if some of the same extentions are in there.
I would guess that FF has its own file associations for those document types and that is whats failing.
If you remove the file association conents (but leave the folder and set isoation to writecopy) then the FF virt should be able to view and use the workstation file associations for the virt XP. -
There is not enough free memory to load the entire file
I saw an older reference to this error in a previous post which apparently got resolved, but didn't explain precisely how it got resolved:
Michael Kitzmiller, "There is not enough free memory to load the entire file" #, 27 Jul 2007 5:23 am
I presume that one answer is to rebuild the document from scratch, changing imported images to referenced images. But I want to recover the file as I put hours of work into it and expected that anything I can save that I also should be able to read back in. I will certainly change to referenced images, but I have to be able to open it first.
thank youWeb...
Here is a smattering of ideas.
Do you have ample unused HDD space? If not, defrag it, although in myu experience, this hardly makes a difference. Check your TEMP/TMP folders and clean them out. Consider downloading cCleaner and running it. Do everything you can to make ample room on your HDD and in places like your TEMP folders. If your HDD is congested, temporarily remove big but relatively unimportant applications and move data elsewhere for a while.
Even with 4GB of RAM, Frame can only use somewhere between 2.7 - 3.2 GB of it under the very best of conditions, and that includes the application as well as the files. Unpacking image files can consume considerably more space than it takes to store them. For example, a 1024 x 768 color image requires more than 3.1MB to describe it as a 32-bit color image, yet when stored in JPEG format, it can be as small as 50kB, a compression of 65:1. Of course, it's not reasonable to assume that your document is comprised entirely of such highly-compressed images, but in the unachievable extreme, it would take 980MB to simultaneously open 15MB worth of those kind of files. The point here is to not fall into the trap of thinking a 15MB file comprising a lot of images needs little more than 15MB of RAM.
Make sure ALL other applications are closed when trying to open your file...Outlook, IE or FireFox, Anti-Virus and Spyware apps, Word, etc.
Consider sending a copy of the file to someone else to see if they can open it for you and delete some of the images before resaving it. If you have a backup copy, rename your current file and restore the backup. Maybe your working copy is corrupt. Who knows? Anything is probably worth trying as long as you have a save copy stored somewhere.
Dennis... -
Allocated heap memory goes up even when there is enough free memory
Hi,
Our Java application's memory usage keep growing. Further analysis of the heap memory using JProbe shows that the allocated heap memory goes up even when there is enough free memory available in the heap.
When the process started, allocated heap memory was around 50MB and the memory used was around 8MB. After few hours, the inuse memory remains at 8MB (slight increase in KBs), but the allocated memory went upto 70MB.
We are using JVM 1.5_10. What could be the reason for heap allocation going up even when there is enough free memory available in heap?
-Rajesh.Hi Eric,
Please check if there is any error or warning in the Event Viewer based on the data time?
If there is any error, please post the event ID to help us to troubleshoot.
Best Regards,
Anna
Maybe you are looking for
-
How can I make different catalogs from the same image
How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I t
-
Error while testing Soap to JDBC
Hi All, While testing Soap to jdbc i got this error: <?xml version='1.0'?> <!-- see the documentation --> <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'> <SOAP:Body> <SOAP:Fault> <faultcode>SOAP:Server</faultcode>
-
Weird problem when syncing with iTunes
Something strange is happening today while trying to charge/sync my 3G with iTunes. About halfway through the sync a box comes up saying "processing 20090705 184634 2.mp4"...when that comes up it basically locks up iTunes and I have to shut the progr
-
MSI 760GM-P34 (FX) and vishera
So today came out the list of msi motherboards that will support the new vishera cpus. I was just wondering since i have the msi 760gm-p34 motherboard, why is it the only one that wont support the new cpus from the amd 700 chipset series? Every other
-
SAP defined function modules for developing CIN.
Hi Experts, Please any one tell me the Function modules developed by SAP to implement CIN. Thanks in Advance. Thanks and Regards Srihari.