Spawned Processes and Memory
Hi Guys,
Does the JVM limit the amount of memory that a process uses when spawning using Runtime.exec()
Basically we are trying to run the microsoft linker from Java (via Maven) and it keeps erroring with 'out of memory' this seems to happen when the process uses around 275MB of RAM.
Are processes spawned by Java limited to the amount of memory allocated to the JVM via -Xmx ?
Any insight on this matter would be appreciated.
Check the source code of the function
Java_java_lang_Win32Process_create
in j2se\src\windows\native\java\lang\Win32Process_md.c (you can get such
source code downloading the SCSL Source code.
The relevant information is posted below.
si.dwFlags = STARTF_USESTDHANDLES;
processFlag = CREATE_NO_WINDOW;
ret = CreateProcess(0, /* executable name */
cmd, /* command line */
0, /* process security attribute */
0, /* thread security attribute */
TRUE, /* inherits system handles */
processFlag, /* selected based on exe type */
envcmd, /* environment block */
cwd, /* change to the new current directory */
&si, /* (in) startup information */
&pi); /* (out) process information */It simply does not adjust memory size, or do something mysterious. It simply creates the process, and redirects the input , output and error streams.
You really must get more memory (or adjust the size of your Windows swap file)...
You can try lowering (not raising) the -Xmx limit of your Java program to make more room for the "link" process.
Similar Messages
-
Noting that the MP 09 has a removable "processor and memory board", one sees the potential for easier warranty repair by swapping out a new board for an old one, I would assume.
Does any one see other potential in the ability to swap out the processor board and memory component?Noting that the MP 09 has a removable "processor and memory board", one sees the potential for easier warranty repair by swapping out a new board for an old one, I would assume.
Does any one see other potential in the ability to swap out the processor board and memory component? -
XSLT processing and Memory Leak
I have the following code for a Simple XSLT Transformation from one form of XML to another, the Size of the XML and the XSLT file are very small( few KB).
As you can see I'm explicitly setting everything to null just to make sure the objects get GC'd.
When I run the transformation on my local m/c running Windows XP on WSAD5.0 there are no memory leak issues, but when I deploy the Same app on our Server running WSAD 5.1 on Solaris, I see memory issues and finally throws an OutOfMemory Exception.
Any Ideas would be appreciated.
public String translate( String xml, String xsltFileName) throws Exception{
String xmlOut = null;
File fXslt = null;
ByteArrayOutputStream baos = null;
javax.xml.transform.Source xmlSource = null;
javax.xml.transform.Source xsltSource = null;
javax.xml.transform.Result result = null;
InputStream isXML = null;
javax.xml.transform.TransformerFactory transFact = null;
javax.xml.transform.Transformer trans = null;
Templates cachedXSLT = null;
try{
// String classname = System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.processor.TransformerFactoryImpl");
String classname = System.getProperty("javax.xml.transform.TransformerFactory");
System.out.println( "******* TRANSFORMER CLASS ***** = "+classname);
isXML = new ByteArrayInputStream( xml.getBytes());
fXslt = new File(xsltFileName);
baos = new ByteArrayOutputStream();
xmlSource =
new javax.xml.transform.stream.StreamSource( isXML);
xsltSource =
new javax.xml.transform.stream.StreamSource( fXslt);
result =
new javax.xml.transform.stream.StreamResult( baos);
// create an instance of TransformerFactory
transFact = javax.xml.transform.TransformerFactory.newInstance();
//transFact.setAttribute("http://xml.apache.org/xalan/features/incremental", Boolean.TRUE);
cachedXSLT = transFact.newTemplates(xsltSource);
trans = cachedXSLT.newTransformer();
//trans = transFact.newTransformer(xsltSource);
trans.transform(xmlSource, result);
xmlOut = baos.toString();
System.out.println("xmlout=***" + xmlOut);
catch( Exception e){
System.out.println( e.getMessage());
throw e;
finally{
trans = null;
//transFact = null;
result = null;
xsltSource = null;
xmlSource = null;
baos.close();
baos = null;
fXslt = null;
isXML.close();
isXML = null;
return xmlOut;
}scream3r wrote:
All code work's as well, but i have a memory leak by using structure (by creating a new MyStructure());Presumably this really is java code. As such the following are the only possibilities
1. You do not have a memory leak. You are misreading a tool (probably task manager) and assuming a leak exists when it doesn't.
2. You need to call something either on MyStructure or by passing it to another class to free it. See the documentation.
3. The leak is caused by something else. -
XML Publisher and Spawned processes
Does XML Publisher work with statements in the Ebusiness Suite as they are spawned processes and not your usual oracle report?
Thanks,
MarkHi,
Yes it does but it is a two step process. When you run statements it doesn't call the output post processor to generate the XMLP Output. You need to either run the XML Report Publish request, or call via the submit request api from the after report trigger.
From memory it is the ARXSGP conc program you need to set to output as XML not ARXSGPO. ARXSGP is spawned by ARXSGPO.
Thanks
Paul -
Mds process shoots up CPU and Memory
I upgraded to OS X Mavericks about a month ago and ever since, have had to disable Spotlight due to shooting CPU and Memory. The only way to get my Mac to a usable state is to add Macintosh HD to Spotlight privacy list to prevent indexing. The moment I do that, CPU and Memory get to normal.
Here is what Memory/CPU looks when I am doing nothing on my Mac and all apps are closed:
mds
1.76 GB
6
195
349
root
100.2
42.25
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
kernel_task
598.3 MB
93
0
0
root
1.7
17.61
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
No
0 bytes
0 bytes
0 bytes
com.apple.IconServicesAgent
116.1 MB
2
65
214
RockingVegan
0.0
0.80
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
Finder
85.5 MB
6
296
165
RockingVegan
0.0
5.99
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
No
0 bytes
0 bytes
0 bytes
WindowServer
57.0 MB
5
297
112
_windowserver
0.7
9.27
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
No
0 bytes
0 bytes
0 bytes
CVMCompiler
48.3 MB
2
38
233
RockingVegan
0.0
5.06
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
mds_stores
34.9 MB
3
60
248
root
0.0
7.16
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
mdworker
32.9 MB
4
62
351
RockingVegan
0.0
3.81
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.6 MB
4
62
354
RockingVegan
0.0
3.66
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.4 MB
4
62
352
RockingVegan
0.0
3.68
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.3 MB
4
62
353
RockingVegan
0.0
3.67
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mds
100.1
1:07.13
8
1
349
root
2.31 GB
190
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
Here is what EtreCheck shows: I cleaned up a bunch of stuff based on other such discussions. I see a bunch of User Launch Agents - I deleted these from /Library/User Agents - and rebooted, but these don't seem t go away from the list.
Hardware Information:
MacBook Pro (15-inch, Late 2011)
MacBook Pro - model: MacBookPro8,2
1 2.4 GHz Intel Core i7 CPU: 4 cores
8 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 512 MB
AMD Radeon HD 6770M - VRAM: 1024 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
System Software:
OS X 10.9.1 (13B42) - Uptime: 0 days 0:5:9
Disk Information:
Hitachi HTS727575A9E362 disk0 : (750.16 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 749.3 GB (414.88 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-8A8
USB Information:
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Kernel Extensions:
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
Launch Agents:
User Launch Agents:
[failed] com.apple.CSConfigDotMacCert-[redacted]@me.com-SharedServices.Agent.plist
[loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist
[failed] com.spotify.webhelper.plist
[failed] com.UninstallerTool.plist
[failed] com.VolumeWatcherTool.plist
User Login Items:
None
3rd Party Preference Panes:
Citrix online plug-in
Flash Player
Java
MusicManager
Internet Plug-ins::
Flash Player: Version: 11.9.900.170 - SDK 10.6
AdobePDFViewer: Version: 10.1.2
eMusicRemote: Version: (null)
googletalkbrowserplugin: Version: 4.9.1.16010
SpeedDownload Browser Plugin: Version: 2.1.2
iPhotoPhotocast: Version: 7.0
AmazonMP3DownloaderPlugin1017265: Version: AmazonMP3DownloaderPlugin 1.0.17
RealPlayer Plugin: Version: Unknown
Veoh Plugin: Version: 3.0
DirectorShockwave: Version: 12.0.7r148 - SDK 10.6
QuickTime Plugin: Version: 7.7.3
PDF Browser Plugin: Version: 2.4.2 - SDK 10.6
FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
CitrixICAClientPlugIn: Version: 11.1.0
AmazonMP3DownloaderPlugin: Version: AmazonMP3DownloaderPlugin 1.0.17
npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5
DivXBrowserPlugin: Version: 2.2
eMusic: Version: Unknown
Silverlight: Version: 5.1.20913.0 - SDK 10.6
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 2.4.4.2
o1dbrowserplugin: Version: 4.9.1.16010
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6
JavaAppletPlugin: Version: Java 7 Update 45
User Internet Plug-ins::
Move-Media-Player: Version: npmnqmp 071706000001
iGetterBundle: Version: 2.8.5
OctoshapeWeb: Version: 1.0
Bad Fonts:
None
Old applications:
Keynote: Version: 5.3 - SDK 10.5
/Applications/iWork '09/Keynote.app
Microsoft Alerts Daemon: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Alerts Daemon.app
Microsoft Chart Converter: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Chart Converter.app
Microsoft Clip Gallery: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Clip Gallery.app
Microsoft Communicator: Version: 13.1.3 - SDK 10.5
/Applications/Microsoft Communicator.app
Microsoft Database Daemon: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app
Microsoft Database Utility: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Database Utility.app
Microsoft Document Connection: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Document Connection.app
Microsoft Excel: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Excel.app
Microsoft Graph: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Graph.app
Microsoft Language Register: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
Microsoft Office Reminders: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Office Reminders.app
Microsoft Office Setup Assistant: Version: 14.2.0 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
Microsoft Outlook: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Outlook.app
Microsoft PowerPoint: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft PowerPoint.app
Microsoft Upload Center: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Microsoft Upload Center.app
Microsoft Word: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Microsoft Word.app
Music Manager: Version: 1.0 - SDK 10.5
/Applications/MusicManager.app
My Day: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/My Day.app
Numbers: Version: 2.3 - SDK 10.5
/Applications/iWork '09/Numbers.app
Open XML for Excel: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Open XML for Excel.app
Pages: Version: 4.3 - SDK 10.5
/Applications/iWork '09/Pages.app
Solver: Version: 1.0 - SDK 10.5
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
SyncServicesAgent: Version: 14.3.9 - SDK 10.5
/Applications/Microsoft Office 2011/Office/SyncServicesAgent.app
Time Machine:
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 697.84 GB Disk used: 311.45 GB
Destinations:
Time Machine Backups [Local] (Last used)
Total size: 931.19 GB
Total number of backups: 14
Oldest backup: 2012-06-30 03:15:51 +0000
Last backup: 2013-12-18 22:18:59 +0000
Size of backup disk: Too small
Backup size 931.19 GB < (Disk used 311.45 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
100% mds
4% WindowServer
2% Activity Monitor
1% EtreCheck
0% sysmond
Top Processes by Memory:
4.40 GB mds
115 MB Finder
115 MB com.apple.IconServicesAgent
66 MB mds_stores
57 MB WindowServer
Virtual Memory Statistics:
14 MB Free RAM
2.79 GB Active RAM
2.78 GB Inactive RAM
1.18 GB Wired RAM
274 MB Page-ins
104 KB Page-outsStep 1:
Loaded extrinsic user agents:
com.growl.GrowlLauncher
com.stellar.VolumeWatcher
com.stellar.UninstallerTool
com.spotify.webhelper
com.macpaw.CleanMyMac.trashSizeWatcher
Safari extensions:
DivXHTML5
Searchme
Restricted user files: 53
Extrinsic loadable bundles:
/System/Library/Extensions/2.2.0/Belcarra.USBLAN_netpart.kext (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/2.2.0/Belcarra.USBLAN_usbpart.kext (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/2.2.0/RemoteControl.USBLAN_usbpart.kext (com.RemoteControl.USBLAN.usbpart)
/System/Library/Extensions/3.1.1/Belcarra.USBLAN_netpart.kext (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/3.1.1/Belcarra.USBLAN_usbpart.kext (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/3.1.1/RemoteControl.USBLAN_usbpart.kext (com.RemoteControl.USBLAN.usbpart)
/System/Library/Extensions/Belcarra.USBLAN_netpart.kext (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/Belcarra.USBLAN_usbpart.kext (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/daspi.kext (com.makemkv.kext.daspi)
/System/Library/Extensions/iavkfs.kext (com.pctools.iantivirus.kfs)
/System/Library/Extensions/RemoteControl.USBLAN_usbpart.kext (com.RemoteControl.USBLAN.usbpart)
Library/Address Book Plug-Ins/SkypeABDialer.bundle (com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle (com.skype.skypeabsms)
Library/Address Book Plug-Ins/YMsgrCallABPlugin.bundle (com.yahoo.YMsgrCallABPlugin)
Library/Address Book Plug-Ins/YMsgrMsnABPlugin.bundle (com.yahoo.YMsgrMsnABPlugin)
Library/Address Book Plug-Ins/YMsgrSmsABPlugin.bundle (com.yahoo.YMsgrSmsABPlugin)
Library/Address Book Plug-Ins/YMsgrYimABPlugin.bundle (com.yahoo.YMsgrYimABPlugin)
Library/Internet Plug-Ins/iGetterBundle.plugin (com.presenta.iGetterBundle)
Library/Internet Plug-Ins/Move-Media-Player.plugin (com.movenetworks.movemediaplayer.plugin)
Library/Internet Plug-Ins/OctoshapeWeb.plugin (com.octoshape.browserplugin)
Library/PreferencePanes/MusicManager.prefPane (com.google.musicmanager.pref)
Library/Services/ToastIt.service (com.roxio.ToastItService)
/Library/Audio/MIDI Drivers/EmagicUSBMIDIDriver.plugin (info.emagic.driver.unitor)
/Library/Internet Plug-Ins/Accel ViewTIFF.bundle (com.acordex.AccelViewTIFF)
/Library/Internet Plug-Ins/AdobePDFViewer.plugin (com.adobe.acrobat.pdfviewer)
/Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin.plugin (com.AmazonMP3DownloaderPluginLib.Amazon MP3 Downloader Plugin)
/Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin1017265.plugin (com.AmazonMP3DownloaderPluginLib.Amazon MP3 Downloader Plugin)
/Library/Internet Plug-Ins/CitrixICAClientPlugIn.plugin (com.citrix.citrixicaclientplugIn)
/Library/Internet Plug-Ins/DirectorShockwave.plugin (com.adobe.director_12_0.shockwave.pluginshim)
/Library/Internet Plug-Ins/DivXBrowserPlugin.plugin (com.divx.DivXBrowserPlugin)
/Library/Internet Plug-Ins/eMusicRemote.plugin (com.emusic.plugins.emp.mac)
/Library/Internet Plug-Ins/Flash Player.plugin (com.macromedia.Flash Player.plugin)
/Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin (net.telestream.wmv.plugin)
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin (com.google.googletalkbrowserplugin)
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin (com.oracle.java.JavaAppletPlugin)
/Library/Internet Plug-Ins/npContributeMac.bundle (com.adobe.npContributeMacBundle)
/Library/Internet Plug-Ins/npgtpo3dautoplugin.plugin (com.google.o3d)
/Library/Internet Plug-Ins/o1dbrowserplugin.plugin (com.google.o1dbrowserplugin)
/Library/Internet Plug-Ins/PDF Browser Plugin.plugin (com.schubert-it.internet-plugin.pdf)
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin (com.microsoft.sharepoint.browserplugin)
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin (com.microsoft.sharepoint.webkitplugin)
/Library/Internet Plug-Ins/Silverlight.plugin (com.microsoft.SilverlightPlugin)
/Library/Internet Plug-Ins/SpeedDownload Browser Plugin.plugin (com.yazsoft.browserplugin)
/Library/Internet Plug-Ins/Veoh Plugin.plugin (com.veoh.plugin)
/Library/Internet Plug-Ins/Veoh Plugin.webplugin (com.veoh.webplugin)
/Library/PreferencePanes/Citrix online plug-in.prefPane (com.citrix.StandAlone)
/Library/PreferencePanes/Flash Player.prefPane (com.adobe.flashplayerpreferences)
/Library/PreferencePanes/JavaControlPanel.prefPane (com.oracle.java.JavaControlPanel)
/Library/QuickTime/SoundboothScoreCodec.component (com.adobe.SoundboothScoreAudioCodec)
/Library/ScriptingAdditions/Adobe Unit Types.osax (No bundle ID)
/Library/ScriptingAdditions/TotalFinder.osax (com.binaryage.totalfinder.injector)
Unsigned shared libraries:
/usr/lib/libesets.4.dylib
/usr/lib/libesets_as.4.dylib
/usr/lib/libsup.dylib
/usr/local/lib/libavcodec.52.108.0.dylib
/usr/local/lib/libavcore.0.16.1.dylib
/usr/local/lib/libavdevice.52.2.3.dylib
/usr/local/lib/libavfilter.1.74.0.dylib
/usr/local/lib/libavformat.52.93.0.dylib
/usr/local/lib/libavutil.50.36.0.dylib
/usr/local/lib/libfuse_ino64.2.dylib
/usr/local/lib/libmp3lame.0.dylib
/usr/local/lib/libntfs-3g.80.dylib
/usr/local/lib/libntfs.9.0.0.dylib
/usr/local/lib/libswscale.0.12.0.dylib
/usr/local/lib/libublio.1.dylib
Library/LaunchAgents:
com.UninstallerTool.plist
com.VolumeWatcherTool.plist
[email protected]t
com.macpaw.CleanMyMac.trashSizeWatcher.plist
com.spotify.webhelper.plist
/Library/PrivilegedHelperTools:
com.microsoft.office.licensing.helper
net.sourceforge.MonolingualHelper
Library/Fonts:
Gentium
GentiumAlt
TLWHM0NT.TTF
encodings.dir
fonts.dir
fonts.list
fonts.scale -
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... -
After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have closed before). Then, and only then, does everything behave normally. What is going on and what am I doing wrong or missing??
== This happened ==
Every time Firefox opened
== about a couple months ago and happens every time I close Firefox.<u>'''Kill Application'''</u>
In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
See: '''[http://kb.mozillazine.org/Kill_application Kill Application]'''
'''<u>Causes and solutions for Firefox hanging at exit:</u>'''
'''[[Firefox hangs]]'''
'''[http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit (Mozillazine article)]'''
'''[[Firefox is already running but is not responding]]'''
<u>'''Safe Mode'''</u>
You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox SafeMode is a diagnostic mode that disables extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes before starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
See:
'''[[Troubleshooting extensions and themes]]'''
'''[[Troubleshooting plugins]]'''
'''[[Basic Troubleshooting]]'''
If the problem does not occur in Safe-mode then disable all of your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You have to close and restart Firefox after each change via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
<u>'''''Other Issues''''': to correct security/stability issues</u>
<u>'''Update Java'''</u>: your ver. 1.6.0.19; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
''(Windows users: Do the manual update; very easy.)''
See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
Do the update with Firefox closed. -
Better utilization of cpus and memory - Concurrent processing tier
I have a three node 11.5.10.2 setup:
Node1 - Database only (10.1.0.5)
Node2 - Admin, Forms, Web
Node3 - Concurrent processing
My concurrent processing node has lot of free cpus and memory
Cpus: Average utilization 20%
Memory : Average utilization 15%
The highest spikes I've had are:
Cpus- 24% utilization
Memory - 20% utilization
What I can do on the concurrent processing tier that would make better use of the cpus/memory resources and improve performance?
I have 2 dual core Intel(R) Xeon(R) processors and 16 GB Physical memory on the concurrent processing server.
Thanks & regards,Hi Asif,
You are seeing a manifestation of the old myth from the earlier part of this decade that you need many middle tier servers to effectively interact with users in a busy ERP environment. In reality, the middle tier processes which are normally web, forms, and concurrent managers typically consume only memory, and maybe10-20 percent CPU utilization of a modern quad core Xeon/Opteron Linux server. I have seen several 200 plus user single node 11i installations that handled the load just fine. In my experience, 95-97% of the ERP CPU utilization comes from database sessions, not from middle tier processes. Occasionally, a forms session goes to a runaway, or a ar60run process runs at 100% CPU while the request is running, but if you follow the Oracle recommendations of limiting fnd_concurrent_requests to 50k rows or less, you will not see much CPU utilization from FNDLIBR processes.
Most 32 GB 2 socket quad core servers can support 200 plus forms user connections plus host the concurrent manager as well. I would only add additional web/forms nodes after you start paging on the middle tier box. Having concurrent managers separated on a 10-20 percent utilized server is sort of a waste of a server.
Regards,
-Michael -
Error: 1056603 Unable to spawn process for application [AppName]
Hi,
After a fresh installation of Essbase Server (11.1.1.4), I'm experiencing the following error when attempting to perform basically any action on any Application (Start, Stop, Delete) through EAS:
*Error: 1056603 Unable to spawn process for application [Demo]. Please ensure that adequate memory is available.*
System memory seems abundant at around 5% usage with all relevant services started, but I even doubled it (since it's a VM) to 16Gb just to make sure, the issue persists.
Having a look at the Essbase server log, I didn't find any additional info that could be helpful:
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///2412/Info(1051160)
Received Validate Login Session request
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///2380/Info(1051001)
Received client request: Get App and Database Status (from user [admin])
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///568/Info(1051001)
Received client request: MaxL: Execute (from user [admin])
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///568/Error(1056603)
Unable to spawn process for application [Demo]. Please ensure that adequate memory is available.
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///568/Error(1054001)
Cannot load application Demo with error number [1056603] - see server log file
[Thu Oct 11 15:07:03 2012]Local/ESSBASE0///568/Warning(1051003)
Error 1054001 processing request [MaxL: Execute] - disconnecting
And when the Essbase service is started, essbase.log also seems to be pretty normal:
[Thu Oct 11 15:18:13 2012]Local/ESSBASE0///2376/Info(1051001)
Received client request: Logout (from user [admin])
[Thu Oct 11 15:18:13 2012]Local/ESSBASE0///2376/Info(1051037)
Logging out user [admin], active for 29 minutes
[Thu Oct 11 15:18:19 2012]Local/ESSBASE0///1236/Info(1051243)
Exclusive operation security file compaction started. This may take a while
[Thu Oct 11 15:18:19 2012]Local/ESSBASE0///1236/Info(1051244)
Security file compaction completed
[Thu Oct 11 15:18:19 2012]Local/ESSBASE0///1236/Info(1051052)
Essbase Server - finished
[Thu Oct 11 15:18:23 2012]Local/ESSBASE0///2620/Info(1051283)
Retrieving License Information Please Wait...
[Thu Oct 11 15:18:23 2012]Local/ESSBASE0///2620/Info(1051286)
License information retrieved.
[Thu Oct 11 15:18:29 2012]Local/ESSBASE0///2620/Info(1051199)
Single Sign-On Initialization Succeeded !
[Thu Oct 11 15:18:29 2012]Local/ESSBASE0///2620/Info(1051232)
Using English_UnitedStates.Latin1@Binary as the Essbase Locale
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2620/Info(1051134)
External Authentication Module: [Single Sign-On] enabled
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2620/Info(1051051)
Essbase Server - started
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2620/Info(1051243)
Exclusive operation security file compaction started. This may take a while
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2620/Info(1051244)
Security file compaction completed
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2620/Info(1051052)
Essbase Server - finished
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2120/Info(1051283)
Retrieving License Information Please Wait...
[Thu Oct 11 15:18:34 2012]Local/ESSBASE0///2120/Info(1051286)
License information retrieved.
[Thu Oct 11 15:18:37 2012]Local/ESSBASE0///2120/Info(1051199)
Single Sign-On Initialization Succeeded !
[Thu Oct 11 15:18:37 2012]Local/ESSBASE0///2120/Info(1051232)
Using English_UnitedStates.Latin1@Binary as the Essbase Locale
Any ideas on what may be causing this?
Thanks in advance!
nHi Nelson,
Did you try increasing the Heap size for EAS ? Try the following and check if you still get the error -
increase the Java heap settings in the EAS script on a Unix platform that was configured using the automatic deployment method, do the following:
1. Navigate to the $HYPERION_HOME/deployments/{appserver}/bin directory.
2. Edit the setCustomParamseas.sh(.bat) script.
3. Modify or add the -Xms and -Xmx settings to the JAVA_OPTIONS variable. For example:
+JAVA_OPTIONS="-Xms256m -Xmx1024m -DComponentName=eas -DcomponentId=1e3bf92b2d9bb0493bcd3380127b0ca49ee7f50 -Dsun.net.inetaddr.ttl=0 -DHYPERION_HOME=/usr/local/oracle/hyperion -Dhyperion.home=/usr/local/oracle/hyperion -DEAS_HOME=/usr/local/oracle/hyperion/products/Essbase/eas -DESS_ES_HOME=/usr/local/oracle/hyperion/products/Essbase/eas/server -DEAS_LOG_LEVEL=5000 -DEAS_LOG_LOCATION=/usr/local/oracle/hyperion/logs/eas/easserver.log -DCLIENT_SERVER_DIFF_MC=true -Dweblogic.j2ee.application.tmpDir=/usr/local/oracle/hyperion/deployments/temp -Djava.io.tmpdir=/usr/local/oracle/hyperion/tmp ${JAVA_OPTIONS} "+
+*Note: For Tomcat deployments, the setting to modify is JAVA_OPTS:*+
+*JAVA_OPTS="-Xms256m -Xmx1024m*+
4. Stop and restart EAS for the setting to take effect.
Hope it helps....
KosuruS -
Problem:
When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
Symptoms:
1) Sync: It’s not completing the sync. Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options. I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
waiting for sync to start (step 1 of 7)
backing up (step 2 of 7)
preparing to sync (step 3 of 7)
determining apps to sync (step 4 of 7)
preparing apps to sync (step 5 of 7)
importing photos (step 6 of 7)
waiting for changes to be applied (step 7 of 7)
syncing apps / copying 1 of 4 (App name) (step 7 of 7)
canceling sync
apple icon
2) Photos: I've selected only certain of my iPhoto albums to sync to my iPhone. All of the albums are correct/complete in iPhoto. All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
3) Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list. If I click on Update All, the Apps are successfully updated in iTunes. But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
Other Potential Pertinent Info:
The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago). Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed. I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive. Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself. However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive. All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
Settings/Status:
MacBook Air
OSX v. 10.9
iPhoto ’11 v. 9.5 (902.7)
iPhone iOS 7.0.4
iTunes v. 11.1.3 (8)
Summary Tab
Backups (This Computer)
Options
Automatically sync when this iPhone is connected
Sync only checked songs and videos
Photos Tab
Sync Photos from iPhoto (429 Photos)
Selected albums, Events, and Faces, and automatically include (no Events)
Albums – 9 are selectedYou need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.
-
So our customer has asked us to compare compare Amazon Workspace and Azure RemoteApp offerings for them to choose from. While looking at Amazon Workspace, it clealy defines bundles with specific CPU cores, memory and user storage. However, Azure RemoteApp
only specifies user storage and vaguely compares its basic vs. standard plans in terms of "task worker" vs. "information worker"
I tried looking up its documentation but couldn't find specific CPU cores that are dedicated per user in basic vs. standard plans. I have following questions:
Can anyone point me in the right direction or help understand how many CPU cores and memory are dedicated (or shared) per user in each plan?
Our customer would most likely need a "custom" image for their custom apps. Is it possible for us to choose specific CPU cores and memory for the users to be able to run their apps in azure remoteapp?
In case i am misunderstanding the basic difference between AWS workspace and Azure RemoteApp, i'd appreciate some help in understanding it as well.
Thanks!Hi,
With Azure RemoteApp users see just the applications themselves, and the applications appear to be running on their local machine similar to other programs. With Workspaces users connect to a full desktop and launch applications within that.
1. Azure RemoteApp currently uses size A3 Virtual Machines, which have 4 vCPUs and 7GB RAM. Under Basic each VM can have a maximum of 16 users using it whereas under Standard each VM is limited to 10 users. The amount of CPU available
to a user depends on what the current demands are on the CPU at that moment from other users and system processes that may be on the server.
For example, say a user is logged on to a VM with 3 other users and the other users are idle (not consuming any CPU). At that moment the user could use all 4 vCPUs if a program they are running needed to. If a few moments later
the other 3 users all needed lots of CPU as well, then the first user would only have approximately 1 vCPU for their use. The process is dynamic and seeks to give each user their fair share of available CPU when there are multiple users demanding CPU.
Under the Standard plan a user will receive approximately a minimum of .4 vCPU assuming that the VM has the maximum number of users logged on and that all users are using as much CPU as possible at a given moment. Under the Basic plan the approximate
minimum would be .25 vCPU.
2. You cannot choose the specific number of cores and memory. What you can do is choose the Azure RemoteApp billing plan, which affects the user density of each VM as described above. If you need a lower density than Standard you
may contact support.
-TP -
How can I use XSQLRequest for processing in-memory XMLDocument
How can I use class XSQLRequest for processing in-memory XSQL?
What should i pass in URL parameter value for constructor XSQLRequest(XMLDocument p0, URL p1)?
Could you write the some examples?Here's one example of doing this:
String xsqlPage = "<page connection='demo' xmlns:xsql='urn:oracle-xsql'>"+
" <xsql:set-page-param name='username' value='{@u}'/>"+
" <xsql:set-page-param name='password' value='{@p}'/>"+
" <xsql:query bind-params='username password'>"+
" select 'Authenticated' from dual"+
" where 'SCOTT' = UPPER(?) /* username */"+
" and 'TIGER' = UPPER(?) /* password */"+
" </xsql:query>"+
"</page>";
DOMParser d = new DOMParser();
d.parse( new StringReader(xsqlPage));
XSQLRequest req = new XSQLRequest(d.getDocument(),null);
StringWriter sw = new StringWriter();
PrintWriter errors = new PrintWriter(sw);
Hashtable h = new Hashtable(2);
h.put("u","scott");
h.put("p","tiger");
req.process(h,output,errors);
output.println(sw.toString()); -
What are the minimum CPU and Memory requirements for R12 Vision instance?
We are in the process of trying to figure out what the minimum hardware requirements are for installing the R12 Vision instance. This Vision instance would only have 5 or less concurrent users. We may have to order a new server and we are wondering what the minimum CPU and memory would be? Oracle Support will not give us this information.
We aleady know how much disk space it will need.
DanHi,
See these links.
A Primer on Hardware Sizing for Oracle E-Business Suite
http://blogs.oracle.com/stevenChan/2010/08/ebs_sizing_primer.html
What Are the Minimum Desktop Requirements for EBS?
http://blogs.oracle.com/stevenChan/2010/09/ebs_pc_clients.html
Also, please see old threads for similar discussion.
Hardware Requirements
http://forums.oracle.com/forums/search.jspa?threadID=&q=Hardware+Requirements&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Benchmark
http://forums.oracle.com/forums/search.jspa?threadID=&q=Benchmark&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Nio ByteBuffer and memory-mapped file size limitation
I have a question/issue regarding ByteBuffer and memory-mapped file size limitations. I recently started using NIO FileChannels and ByteBuffers to store and process buffers of binary data. Until now, the maximum individual ByteBuffer/memory-mapped file size I have needed to process was around 80MB.
However, I need to now begin processing larger buffers of binary data from a new source. Initial testing with buffer sizes above 100MB result in IOExceptions (java.lang.OutOfMemoryError: Map failed).
I am using 32bit Windows XP; 2GB of memory (typically 1.3 to 1.5GB free); Java version 1.6.0_03; with -Xmx set to 1280m. Decreasing the Java heap max size down 768m does result in the ability to memory map larger buffers to files, but never bigger than roughly 500MB. However, the application that uses this code contains other components that require the -xMx option to be set to 1280.
The following simple code segment executed by itself will produce the IOException for me when executed using -Xmx1280m. If I use -Xmx768m, I can increase the buffer size up to around 300MB, but never to a size that I would think I could map.
try
String mapFile = "C:/temp/" + UUID.randomUUID().toString() + ".tmp";
FileChannel rwChan = new RandomAccessFile( mapFile, "rw").getChannel();
ByteBuffer byteBuffer = rwChan.map( FileChannel.MapMode.READ_WRITE,
0, 100000000 );
rwChan.close();
catch( Exception e )
e.printStackTrace();
I am hoping that someone can shed some light on the factors that affect the amount of data that may be memory mapped to/in a file at one time. I have investigated this for some time now and based on my understanding of how memory mapped files are supposed to work, I would think that I could map ByteBuffers to files larger than 500MB. I believe that address space plays a role, but I admittedly am no OS address space expert.
Thanks in advance for any input.
Regards- KJSee the workaround in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724038
-
FMIS restarting and memory issue
I have Flash Media Interactive Server 3.5.5 on Windows 2008 server. I developed video chat application (many to many), it's only 1 FMS application with about 50-100 room instances and 1 lobby instance to which all users are connected. There are up to 600 - 700 users at a time which produce about 2000-2500 connections to FMS.
Problem I have is with steady raise of memory usage, which if goes little above 2GB will make FMS unresponsive and it would restart itself after about 1-2hours. To avoid that Im restarting FMS manualy every 3-4 days. Interesting thing I noticed is that if I restart FMS from admin console, used RAM memory won't fall at levels as if it would right after whole Windows server is restarted.
In my Application.xml there are following configs:
<Scope></Scope>
<Distribute numprocs="3">Instances</Distribute>
These are things from logs during FMS unresponsive period or right before it:
master.log
2011-05-21 22:01:11 996 (i)2581223 Core (3592) is no longer active. -
2011-05-21 22:01:16 996 (i)2581223 Core (1868) is no longer active. -
admin.log
2011-05-21 22:01:06 2832 (i)2581242 Core (3592) disconnected : _defaultRoot_:_defaultVHost_:::_0. -
2011-05-21 22:01:09 2832 (i)2581242 Core (1868) disconnected : _defaultRoot_:_defaultVHost_:::_1. -
edge.log
2011-05-21 14:22:23 840 (e)2661034 Connect failed ( , -1 ) : Connect failed: (10061) -
2011-05-21 14:23:05 840 (e)2661034 Connect failed ( , -1 ) : Connect failed: (10061) -
2011-05-21 22:01:06 840 (i)2581250 Edge disconnected from core (3592). -
2011-05-21 22:01:09 840 (i)2581250 Edge disconnected from core (1868). -
access.log
session disconnect 2011-05-21 21:29:06 6632 68.191.113.251 29476 39743 - - - - 200 -
session disconnect 2011-05-21 21:29:06 6632 72.198.193.1 4759 6837 - - - - 200 -
session disconnect 2011-05-21 21:29:06 6632 83.70.249.91 11996 14797 - - - - 200 -
session disconnect 2011-05-21 21:29:06 6632 108.8.209.2 57227 76111 - - - - 200 -
session disconnect 2011-05-21 21:29:06 6632 212.183.140.17 3073 3595 - - - - 200 -
Please help me with this issue.Thanks for your answers, I'm replying with delay because I wanted to check these things some more.
When I said 'memory is not less', I meant that total memory in Windows after FMS restart doesn't return to memory levels when Windows is restarted, but I guess that's because of some Windows processes and not connected to FMS.
As for FMS processes, these are the things are notice, few hours after FMS restart I get 1 FMSCore.exe that is around 200-220MB, and 3-4 FMSCore's that are around 40-70MB. Size of that largest FMSCore.exe doesn't go down even when there are much less users connected to FMS. And like I said before, after 3 or more days of running FMS becomes unresponsive, and restarts itself. Right after FMS restart largest FMSCore.exe weights around 70MB but 15mins after it's already 120MB as users connect to video chat application.
As for logs, my core.log files have several lines like:
2011-07-04 03:59:24 3308 (e)2611392 Exception while processing message: Unexpected virtual message from client 6446421578071032403: 93 { # 92 " : t 00 00 00 02 -
2011-07-04 03:59:24 3308 (e)2611029 Bad network data; terminating connection : chunkstream error:message length 12086012 is longerthan max rtmp packet length -
2011-07-04 03:59:24 3308 (e)2631029 Bad network data; terminating connection : (Adaptor: _defaultRoot_, VHost: _defaultVHost_, IP: 94.4.57.121, App: chatcity/stream, Protocol: rtmp, Client: 6446421578071032403, Handle: 2497053121) : 88 1E & D7 FB / 8D 7 99 CB X ...
2011-07-02 14:09:57 1228 (e)2611363 Server detected a backward timestamp from 7990 to 7985 in file: C:\Program Files (x86)\Adobe\Flash Media Server 3.5\applications\chatcity\streams\_definst_\captured_16627033 -
While edge.log has:
2011-07-04 04:58:56 1384 (e)2661034 Connect failed ( , 8134 ) : Connect failed: (10061) -
2011-07-02 21:09:05 6864 (e)2661034 Connect failed ( , -1 ) : Connect failed: (10061) -
And master.log has:
2011-07-04 00:30:27 7128 (i)2581223 Core (6280) is no longer active. -
2011-07-04 00:30:27 7128 (i)2581223 Core (4352) is no longer active. -
Maybe you are looking for
-
I'm sending this e-mail because I have had a problem with SUNOS and I am not able to solve it. Neither are my collegues. I wrote a program that uses pseudo terminals to execute and send data to a second program. The parent program opens the master si
-
Hi, I am making an app, and it is possible to change the font of a textblock. By checking what fonts are available on the phone, I checked THIS However, when I want to change to e.g. Candara, it does simply not work. But Courier New Does. The font wo
-
DB13 Calender Scheduling backup failed
Hi Guru's/Experts, Our DBAcockpit backup planning is on every Wednesday... Yesterday it was failed and the status it is showing is 'Scheduling Failed' I tried to Re-Scheduled it is giving the message "Action Successfully Completed". When I tried to
-
Crash after upgrade to 10.5.6
After upgrade to Mac OS X version 10.5.6 the crash describe by following log have occurred. How can I fix it? Thanks in advance. Process: aslmanager [222] Path: /usr/sbin/aslmanager Identifier: aslmanager Version: ??? (???) Code Type: X86 (Native) Pa
-
i have n79 mobil. ihave instal n-gage new version to my mobil. i have used that 3 days. after that it is not open. what can i do ?