VMWare ESX 4.1 - Guest memory usage

Hi,
We are running an ESX Server 4.1 with 36 GB RAM. We have installed 4 VM (Windows Server 2008 R2 and MS SQL Server 2008 R2), each defined with 8 GB RAM (1 ERP 6.0 EHP3 ABAPJAVA, 1 ERP 6.0 EHP4 ABAPJAVA, 1 Enterprise Portal 7.02 and 1 Solution Manager 7.0 EHP1). Each SAP system is up and running, performances are good, but only a few users are working on each of them. I see a warning in Vcenter concerning the RAM usage (94%), but the guest memory usage is low (from 5 to 12% in average during the last month).
How can I optimize ?
Kind regards,
Christophe

Hi Christophe,
first of all, the warning you see is not critical. It is just a standard warning that comes up when a standard theshold of memory usage is reached. The 4 GB RAM you have left on the host should be sufficient to cover the memory allocation overheads of the VMs and the memory that is needed by the ESX hypervisor.
I assume you reserved 100 % of the assigned memory (mandatory for SAP virtualization). Reserved memory cannot be used by other VMs, therefore it is "not assignable" from the perspective of the hypervisor. This could be the reason why the threshold of the warning is reached although the utilization inside the guest ("active" memory) is low.
Kind regards,
Matthias

Similar Messages

  • Slow performance, weird memory usage, hanging when closing safari tab

    Hi, i recently noticed that my MacBoo Pro was with low performance after some hours of use.
    I'm a heavy user, so I try to monitor what might be causing it. What i note was:
    After restart (or fresh start), my computer was ok;
    I use applications like adobe Lightroom and VMWare Fusion;
    Then I star feeling like Safari was too slow to open pages - I thought it was the internet link first, but even local webpages are slow. I notice that when a click to close a tab, it take almost 2 sec to do it. The same when click to open any link on that page.
    I start the activity monitor, but my proc usage are low. Then, I notice the (weird) memory usage:
    Take a look at "memory used". I closed all applications before take this screenshot. i've trying to identify what is consuming this memory, but.. no success.
    Anyone has any idea what can might be causing it?
    My HW information:
    all my apps are updated.

    Memory usage was normal when you took that screenshot.
    When you have the problem, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • OS X Yosemite Safari memory usage

    Safari's memory usage under Yosemite continues to increase until system stalls due to paging. The memory gets to about 60G before the stall. Also, the process SafariDAVclient exhibits the same behavior. This started after I reinstalled Yosemite. Reinstalled again, no better.
    Anyone have a solution?
    IMAC
    12G 1333 MHz DDR3
    Inter Core I5

    Start time: 18:40:57 12/14/14
    Model Identifier: iMac12,2
    System Version: OS X 10.10.1 (14B25)
    Kernel Version: Darwin 14.0.0
    Time since boot: 5 minutes
    SATA
       ST31000528AS                           
    USB
       UC-10KM V1.3.124 (ATEN International Co. Ltd.)
       IEEE-1284 Controller (Prolific Technology, Inc.)
    Diagnostic reports
       2014-12-08 Norton AntiVirus crash
       2014-12-08 Norton Internet Security crash
    Shutdowns
       Dec 12 15:34:53 Previous shutdown cause: -62
       Dec 12 16:34:52 Previous shutdown cause: -62
       Dec 13 02:40:04 Previous shutdown cause: -62
       Dec 13 11:35:09 Previous shutdown cause: -62
       Dec 14 18:36:37 Previous shutdown cause: -62
    Log
       Dec 14 05:36:19 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 05:38:34 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 07:36:20 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 07:38:39 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 09:36:58 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 09:38:27 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 10:45:35 firefox (map: 0xffffff8046cfb000) triggered DYLD shared region unnest for map: 0xffffff8046cfb000, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
       Dec 14 11:09:09 process com.apple.WebKit[3678] thread 910877 caught burning CPU!; EXC_RESOURCE supressed due to audio playback
       Dec 14 11:35:53 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 11:38:36 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 13:12:12 firefox (map: 0xffffff8051eab690) triggered DYLD shared region unnest for map: 0xffffff8051eab690, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
       Dec 14 13:39:50 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 13:41:29 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 15:18:00 firefox (map: 0xffffff8051826000) triggered DYLD shared region unnest for map: 0xffffff8051826000, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
       Dec 14 15:35:46 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 15:38:35 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 17:42:52 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
       Dec 14 17:44:01 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
       Dec 14 18:36:37 Error 2 registering socket filter (com.symantec.fw.ac.at). Your computer may not be fully protected.
       Dec 14 18:36:37 com.apple.Kerberos.kdc: Service exited with abnormal code: 1
       Dec 14 18:36:37 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Dec 14 18:36:54 com.apple.dpd: Service exited with abnormal code: 75
       Dec 14 18:37:05 com.apple.dpd: Service exited with abnormal code: 75
       Dec 14 18:37:21 firefox (map: 0xffffff8049a89c30) triggered DYLD shared region unnest for map: 0xffffff8049a89c30, region 0x7fff86c00000->0x7fff86e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
       Dec 14 18:40:13 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
    Activity
       CPU: user 13%, system 38%
    CPU per process: SafariDAVClient (UID 501) is using 97  %
    Memory: Safari (UID 501) is using 1753 MB
    kexts
       com.symantec.kext.internetSecurity (5.4f4)
       com.symantec.kext.pf (5.7.1f4)
       com.symantec.kext.ips (3.9.2f1)
       com.symantec.kext.SymAPComm (12.7.1f4)
       com.symantec.kext.fw (5.3.1f4)
    Daemons
       com.period.searchprotectd
       com.carbonite.daemon
       com.symantec.liveupdate.daemon
       com.apple.installer.osmessagetracing
       com.microsoft.office.licensing.helper
       com.symantec.errorreporting.periodic
       com.oracle.java.Helper-Tool
       com.symantec.symdaemon
       com.symantec.sharedsettings
       com.adobe.fpsaud
       com.symantec.liveupdate.daemon.ondemand
       com.symantec.deepsight-extractor
    Agents
       com.symantec.uiagent.application
       com.carbonite.carbonitestatus
       com.symantec.nis.application
       com.oracle.java.Java-Updater
       com.apple.AirPortBaseStationAgent
       com.carbonite.carbonitealerts
       com.symantec.errorreporting.periodic-agent
    Bundles
       /Library/Extensions/FileSecurity.kext
       -    com.symantec.kext.filesecurity
       /Library/Extensions/SymAPComm.kext
       -    com.symantec.kext.SymAPComm
       /Library/Extensions/SymFirewall.kext
       -    com.symantec.kext.fw
       /Library/Extensions/SymInternetSecurity.kext
       -    com.symantec.kext.internetSecurity
       /Library/Extensions/SymIPS.kext
       -    com.symantec.kext.ips
       /Library/Extensions/SymPersonalFirewall.kext
       -    com.symantec.kext.pf
       /Library/Internet Plug-Ins/Flash Player.plugin
       -    N/A
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
       -    com.oracle.java.JavaAppletPlugin
       /Library/Internet Plug-Ins/NortonInternetSecurityBF.plugin
       -    com.symantec.NortonInternetSecurityBF
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
       -    com.microsoft.sharepoint.browserplugin
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
       -    com.microsoft.sharepoint.webkitplugin
       /Library/PreferencePanes/Carbonite.prefPane
       -    com.carbonite.prefpanel
       /Library/PreferencePanes/Flash Player.prefPane
       -    com.adobe.flashplayerpreferences
       /Library/PreferencePanes/JavaControlPanel.prefPane
       -    com.oracle.java.JavaControlPanel
       /Library/PreferencePanes/SymantecQuickMenu.prefPane
       -    com.symantec.quickmenu.prefpane
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
       -    com.skype.skypeabdialer
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
       -    com.skype.skypeabsms
       Library/Internet Plug-Ins/TroviNPAPIPlugin.plugin
       -    com.conduit.ConduitNPAPIPlugin
    Contents of /Library/LaunchAgents/com.carbonite.launchd.carbonitealerts.plist (checksum 3096452879)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.carbonite.carbonitealerts</string>
           <key>OnDemand</key>
           <true/>
           <key>RunAtLoad</key>
           <false/>
           <key>WatchPaths</key>
           <array>
               <string>/Library/Application Support/Carbonite/CarboniteAlerts.app/Contents/Resources/</string>
           </array>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Carbonite/CarboniteAlerts.app/Contents/MacOS/CarboniteAlerts</string>
           </array>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.carbonite.launchd.carbonitestatus.plist (checksum 2411194237)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.carbonite.carbonitestatus</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Carbonite/CarboniteStatus.app/Contents/MacOS/CarboniteStatus</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
           <key>OnDemand</key>
           <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist (checksum 2888270030)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.oracle.java.Java-Updater</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
               <string>-bgcheck</string>
           </array>
           <key>StandardErrorPath</key>
           <string>/dev/null</string>
           <key>StandardOutPath</key>
           <string>/dev/null</string>
           <key>StartCalendarInterval</key>
           <dict>
               <key>Hour</key>
               <integer>14</integer>
               <key>Minute</key>
               <integer>2</integer>
               <key>Weekday</key>
               <integer>1</integer>
           </dict>
       </dict>
       ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.symantec.errorreporter-periodicagent.plist (checksum 3538970707)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.symantec.errorreporting.periodic-agent</string>
           <key>Nice</key>
           <integer>10</integer>
           <key>LowPriorityIO</key>
           <true/>
           <key>RunAtLoad</key>
           <true/>
           <key>StartInterval</key>
           <integer>86400</integer>
           <key>StartCalendarInterval</key>
           <array>
               <dict>
                   <key>Minute</key>
                   <integer>48</integer>
                   <key>Hour</key>
                   <integer>16</integer>
                   <key>Weekday</key>
                   <integer>2</integer>
       ...and 28 more line(s)
    Contents of /Library/LaunchAgents/com.symantec.nis.application.plist (checksum 4000086316)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.symantec.nis.application</string>
           <key>RunAtLoad</key>
           <false/>
           <key>QueueDirectories</key>
           <array>
               <string>/Library/Application Support/Symantec/NisLaunch</string>
           </array>
           <key>ProgramArguments</key>
           <array>
               <string>/Applications/Symantec Solutions/Norton Internet Security.app/Contents/MacOS/Norton Internet Security</string>
           </array>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.symantec.uiagent.application.plist (checksum 2715641560)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>KeepAlive</key>
           <true/>
           <key>Label</key>
           <string>com.symantec.uiagent.application</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Symantec/SymUIAgent/SymUIAgent.app/Contents/MacOS/SymUIAgent</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.carbonite.launchd.carbonitedaemon.plist (checksum 2948711974)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.carbonite.daemon</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Carbonite/CarboniteDaemon.app/Contents/MacOS/CarboniteDaemon</string>
           </array>
           <key>RunAtLoad</key>
           <true/>
           <key>OnDemand</key>
           <false/>
           <key>WorkingDirectory</key>
           <string>/Library/Application Support/Carbonite</string>
           <key>StandardOutPath</key>
           <string>/Library/Logs/Carbonite1.log</string>
           <key>StandardErrorPath</key>
           <string>/Library/Logs/Carbonite2.log</string>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.perion.searchprotectd.plist (checksum 1209345832)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>AbandonProcessGroup</key>
           <true/>
           <key>EnableTransactions</key>
           <false/>
           <key>ProgramArguments</key>
           <array>
               <string>/Applications/SearchProtect/SearchProtect.app/Contents/MacOS/SearchProt ect</string>
               <string>-execv_instance</string>
           </array>
           <key>KeepAlive</key>
           <true/>
           <key>RunAtLoad</key>
           <true/>
           <key>Label</key>
           <string>com.period.searchprotectd</string>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.symantec.deepsight-extractor.plist (checksum 27990138)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <true/>
           <key>Label</key>
           <string>com.symantec.deepsight-extractor</string>
           <key>OnDemand</key>
           <true/>
           <key>KeepAlive</key>
           <dict>
               <key>NetworkState</key>
               <true/>
           </dict>
           <key>RunAtLoad</key>
           <true/>
           <key>LowPriorityIO</key>
           <true/>
           <key>Nice</key>
           <integer>10</integer>
           <key>StandardOutPath</key>
           <string>/dev/null</string>
           <key>StandardErrorPath</key>
           <string>/Library/Application Support/Symantec/DeepSight/errors.log</string>
       ...and 13 more line(s)
    Contents of /Library/LaunchDaemons/com.symantec.errorreporter-periodic.plist (checksum 4116421858)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Disabled</key>
           <false/>
           <key>Label</key>
           <string>com.symantec.errorreporting.periodic</string>
           <key>Nice</key>
           <integer>10</integer>
           <key>LowPriorityIO</key>
           <true/>
           <key>RunAtLoad</key>
           <false/>
           <key>StartInterval</key>
           <integer>43200</integer>
           <key>StartCalendarInterval</key>
           <array>
               <dict>
                   <key>Minute</key>
                   <integer>48</integer>
                   <key>Hour</key>
                   <integer>12</integer>
                   <key>Weekday</key>
                   <integer>2</integer>
       ...and 30 more line(s)
    Contents of /Library/LaunchDaemons/com.symantec.liveupdate.daemon.ondemand.plist (checksum 2394746304)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>KeepAlive</key>
           <false/>
           <key>Label</key>
           <string>com.symantec.liveupdate.daemon.ondemand</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Symantec/LiveUpdate/LiveUpdateDaemon.bundle/Contents/MacOS/LiveUpdateDa emon</string>
           </array>
           <key>TimeOut</key>
           <integer>15</integer>
           <key>Sockets</key>
           <dict>
               <key>DaemonSocket</key>
               <dict>
                   <key>SockPathMode</key>
                   <integer>49663</integer>
                   <key>SockPathName</key>
                   <string>/private/tmp/com.symantec.liveupdate.daemonport</string>
               </dict>
           </dict>
           <key>EnableTransactions</key>
       ...and 3 more line(s)
    Contents of /Library/LaunchDaemons/com.symantec.liveupdate.daemon.plist (checksum 4073930787)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>KeepAlive</key>
           <false/>
           <key>RunAtLoad</key>
           <true/>
           <key>Label</key>
           <string>com.symantec.liveupdate.daemon</string>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Symantec/LiveUpdate/LUTool</string>
           </array>
           <key>StartInterval</key>
           <integer>7200</integer>
           <key>TimeOut</key>
           <integer>15</integer>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.symantec.nav.migrateqtf.plist (checksum 1567806071)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
               <key>KeepAlive</key>
               <false/>
               <key>RunAtLoad</key>
               <true/>
               <key>Label</key>
               <string>com.symantec.nav.migrateqtf</string>
               <key>ProgramArguments</key>
               <array>
                       <string>/usr/bin/MigrateQTF</string>
               </array>
               <key>StartInterval</key>
               <integer>300</integer>
               <key>TimeOut</key>
               <integer>15</integer>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.symantec.sharedsettings.plist (checksum 2142494329)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>KeepAlive</key>
           <false/>
           <key>Label</key>
           <string>com.symantec.sharedsettings</string>
           <key>MachServices</key>
           <dict>
               <key>com.symantec.sharedsettings</key>
               <true/>
           </dict>
           <key>Program</key>
           <string>/Library/PrivateFrameworks/SymSharedSettings.framework/Tools/SymSharedS ettingsd</string>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.symantec.symdaemon.plist (checksum 513030552)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
           <key>Label</key>
           <string>com.symantec.symdaemon</string>
           <key>OnDemand</key>
           <false/>
           <key>KeepAlive</key>
           <dict>
               <key>SuccessfulExit</key>
               <false/>
           </dict>
           <key>RunAtLoad</key>
           <true/>
           <key>ProgramArguments</key>
           <array>
               <string>/Library/Application Support/Symantec/Daemon/SymDaemon.bundle/Contents/MacOS/SymDaemon</string>
           </array>
       </dict>
       </plist>
    Listeners
       cupsd: ipp
       kdc: kerberos
       launchd: afpovertcp
       launchd: microsoft-ds
    User login items
       VMware Fusion Start Menu
       -    /Applications/VMware Fusion.app/Contents/Library/VMware Fusion Start Menu.app
    Restricted files: 406
    Elapsed time (s): 207

  • Solaris Cluster 3.3 on VMware ESX 4.1

    Hi there,
    I am trying to setup Solaris Cluster 3.3 on Vmware ESX 4.1
    My first question is: Is there anyone out there setted up Solaris Cluster on vmware accross boxes?
    My tools:
    Solaris 10 U9 x64
    Solaris Cluster 3.3
    Vmware ESX 4.1
    HP DL 380 G7
    HP P2000 Fibre Channel Storage
    When I try to setup cluster, just next next next, it completes successfully. It reboots the second node first and then the itself.
    After second node comes up on login screen, ping stops after 5 sec. Same either nodes!
    I am trying to understand why it does that? I did every possibility to complete this job. Setted up quorum as RDM from VMware. Solaris has direct access to quorum disk now.
    I am new to Solaris and I am having the errors below. If someone would like to help me it will be much appreciated!
    Please explain me in more details i am new bee in solaris :) Thanks!
    I need help especially on error: /proc fails to mount periodically during reboots.
    Here is the error messages. Is there any one out there setted up Solaris Cluster on ESX 4.1 ?
    * cluster check (ver 1.0)
    Report Date: 2011.02.28 at 16.04.46 EET
    2011.02.28 at 14.04.46 GMT
    Command run on host:
    39bc6e2d- sun1
    Checks run on nodes:
    sun1
    Unique Checks: 5
    ===========================================================================
    * Summary of Single Node Check Results for sun1
    ===========================================================================
    Checks Considered: 5
    Results by Status
    Violated : 0
    Insufficient Data : 0
    Execution Error : 0
    Unknown Status : 0
    Information Only : 0
    Not Applicable : 2
    Passed : 3
    Violations by Severity
    Critical : 0
    High : 0
    Moderate : 0
    Low : 0
    * Details for 2 Not Applicable Checks on sun1
    * Check ID: S6708606 ***
    * Severity: Moderate
    * Problem Statement: Multiple network interfaces on a single subnet have the same MAC address.
    * Applicability: Scan output of '/usr/sbin/ifconfig -a' for more than one interface with an 'ether' line. Check does not apply if zero or only one ether line.
    * Check ID: S6708496 ***
    * Severity: Moderate
    * Problem Statement: Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.
    * Applicability: Applicable to SPARC architecture only.
    * Details for 3 Passed Checks on sun1
    * Check ID: S6708605 ***
    * Severity: Critical
    * Problem Statement: The /dev/rmt directory is missing.
    * Check ID: S6708638 ***
    * Severity: Moderate
    * Problem Statement: Node has insufficient physical memory.
    * Check ID: S6708642 ***
    * Severity: Critical
    * Problem Statement: /proc fails to mount periodically during reboots.
    ===========================================================================
    * End of Report 2011.02.28 at 16.04.46 EET
    ===========================================================================
    Edited by: user13603929 on 28-Feb-2011 22:22
    Edited by: user13603929 on 28-Feb-2011 22:24
    Note: Please ignore memory error I have installed 5GB memory and it says it requires min 1 GB! i think it is a bug!
    Edited by: user13603929 on 28-Feb-2011 22:25

    @TimRead
    Hi, thanks for reply,
    I have already followed the steps also on your links but no joy on this.
    What i noticed here is cluster seems to be buggy. Because i have tried to install cluster 3.3 on physical hardware and it gave me excat same error messages! interesting isnt it?
    Please see errors below that I got from on top of VMware and also on Solaris Physical hardware installation:
    ERROR1:
    Comment: I have installed different memories all the time. It keeps sayying that silly error.
    problem_statement : *Node has insufficient physical memory.
    <analysis>5120 MB of memory is installed on this node.The current release of Solaris Cluster requires a minimum of 1024 MB of physical memory in each node. Additional memory required for various Data Services.</analysis>
    <recommendations>Add enough memory to this node to bring its physical memory up to the minimum required level.
    ERROR2
    Comment: Despite rmt directory is there I gor error below on cluster check
    <problem_statement>The /dev/rmt directory is missing.
    <analysis>The /dev/rmt directory is missing on this Solaris Cluster node. The current implementation of scdidadm(1M) relies on the existence of /dev/rmt to successfully execute 'scdidadm -r'. The /dev/rmt directory is created by Solaris regardless of the existence of the actual nderlying devices. The expectation is that the user will never delete this directory. During a reconfiguration reboot to add new disk devices, if /dev/rmt is missing scdidadm will not create the new devices and will exit with the following error: 'ERR in discover_paths : Cannot walk /dev/rmt' The absence of /dev/rmt might prevent a failover to this node and result in a cluster outage. See BugIDs 4368956 and 4783135 for more details.</analysis>
    ERROR3
    Comment: All Nics have different MAC address though, also I have done what it suggests me. No joy here as well!
    <problem_statement>Cluster node (3.1 or later) OpenBoot Prom (OBP) has local-mac-address? variable set to 'false'.
    <analysis>The local-mac-address? variable must be set to 'true.' Proper operation of the public networks depends on each interface having a different MAC address.</analysis>
    <recommendations>Change the local-mac-address? variable to true: 1) From the OBP (ok> prompt): ok> setenv local-mac-address? true ok> reset 2) Or as root: # /usr/sbin/eeprom local-mac-address?=true # init 0 ok> reset</recommendations>
    ERROR4
    Comment: No comment on this, i have done what it says no joy...
    <problem_statement>/proc fails to mount periodically during reboots.
    <analysis>Something is trying to access /proc before it is normally mounted during the boot process. This can cause /proc not to mount. If /proc isn't mounted, some Solaris Cluster daemons might fail on startup, which can cause the node to panic. The following lines were found:</analysis>
    Thanks!

  • VMWARE ESX 3.5 and Netware 6.5

    I want to Install a Netware 6.5 server in VMWARE ESX 3.5 in a
    IBM x3650 with 2 CPU quad core.
    But the guest SO wizard don't allow me to install more than
    1 CPU.
    Why is that?

    Generally, Netware doesn't benefit from a second CPU. Of course
    there are occasions where adding another CPU improves performance,
    but Netware is IO bound, not CPU bound.
    Under VMware, Netware will definitely perform better with a single CPU.
    Netware does not idle the CPU, so when running under VMware, the
    VMware tools idle the first CPU. If there are 2 CPUs, the second CPU
    will always run at 100 percent utilization.
    Charles
    "10789" <[email protected]> wrote in message
    news:[email protected]..
    >
    > Thanks Marcel by respuesta.But I not sure that Netware perform better
    > with a single CPU . Is that true ?
    >
    >
    > --
    > 10789
    > ------------------------------------------------------------------------
    > 10789's Profile: http://forums.novell.com/member.php?userid=8229
    > View this thread: http://forums.novell.com/showthread.php?t=314249
    >

  • OneWorld XE B7333 SP21 runs slow in ESX 4.0 guest os

    Gent,
    We just migration several of our OneWold XE B7333 SP21 thin-client servers to VMWARE ESX 4.0 environment, but we found out the UBE report running is slower then when the server is still on the old physical server. We even add more processors and memory to this new virtualized server. But the UBE performance is still bad.
    Is there anyone ever expereneced this also?

    You might try un-installing the RIM software. It has caused problems for some people. Un-install using the developer’s instructions to make sure you remove all parts of the application.
    Activity Monitor - Mavericks  also Yosemite
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • Prime LMS 4.1 and VMWARE ESX 5.0

    Can Cisco Prime LMS 4.1 be deployed on VMware ESX server 5.0 or not ?                  

    No LMS 4.1 is not supported on ESXi 5.0. LMS 4.1 supports the following Virtualization Systems:
    •VMware ESX server 3.0.x
    •VMware ESX Server 3.5.x
    •VMWare ESX Server 4.0.x
    •VMWare ESX Server 4.1
    •VMWare ESXi Server 4.0
    •VMware ESXi Server 4.1
    •Hyper V Virtualization (As an installable in Windows 2008)
    For more details check:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.1/install/guide/prereq.html#wp1119955
    On a side note, though a OVF/OVA file may be an issue, but you can try to install LMS 4.1 on a virtualized Win/Sol guest OS host, where it should work mostly. But for any issues further, Cisco or TAC may refer to this as an unsupported installation, for any t/s or support.
    Else, you may upgrade to LMS 4.2 which is supported on ESXi 5.0.
    -Thanks

  • Wich is better the ACS Server with VMware ESX or the Appliance for a multitenant environmet with ip overlaping

    Excuse me, does any body can help me?
    Wich is better the ACS Server with VMware ESX or the Appliance for a multitenant environmet with ip overlaping
    I need to know if the ACS support the AAA functions but from equal ip segments (ip overlaping) on diferent places.... with diferent client networks.
    We are implementing the ACS on a central site (our NOC), so each field engineer will be AAA from diferent sites, same ip networks and diferent places....
    We need to implement support activities where our field engineer get access on a cisco device on the client premises, but the point is that we have a field engineer force wich get access on each device on diferent places.
    With this scenary we need to decide wich is better: The appliance or the  ACS Server with VMware ESX
    ACS Server with VMware ESX
    CSACS-5.1-VM-K9
    CSACS-5-ADV-LIC
    CSACS-5-LRG-LIC
    CSACS-5-BASE-LIC
    CON-CSSPS-5ADVLI
    CON-CSSPS-5LRGLC
    CON-CSSPS-51VMK
    APPLIANCE
    CSACS-1120-K9
    CAB-AC
    CSACS-5-BASE-LIC
    CSACS-5.0-SW-K9
    CON-OSP-CS1120K9

    Just a quick question - have you looked at superwaba
    and wabajump? Superwaba is basically Java for pocket
    pc and palm, but wabajump allows you to compile to
    palm (not pocket pc). You can also use Eclipse for
    development in an applet - much quicker than deploying
    to device/virtual device. Small memory footprint as
    well.
    Cheers
    Andy StrattonThank you Andy. I'll try it. Have you tried to use Websphere Studio Device Developer ?
    I've tried version 5.5 but i found it not too comfortable.
    I'd like to know personal experiences of the whole stack of components and tools involved
    in the development process. We're trying to design the best environment for it.
    Kind Regards
    J.L Perez

  • Vmware ESX Server

    Hi folks,
    is it possible to install vmware ESX Server (not OSX+Fusion) directly on my Mac Pro? I would like to have a very good hardware-based machine for the datacenter, and virtualize all guests using ESX.
    Any advice will be appreciated
    Best Regards
    Andrea
    Message was edited by: riela

    Contact VM Fusion for this matter. If there's a compatible server edition (and I think there is) you will not find it here but at their website. For support join their forums (free) and go to the appropriate support forum.

  • Is SL giving maximum priority on memory usage to disk cache???

    Pretty much every time I need to work with large files - be it video files, archiving or unarchiving large files, or working with VMWare images - the system quickly runs out of memory and starts swapping profusely. The swap file grows to 2-4 gigabytes pretty quickly, the system becomes unresponsive etc...
    I have the latest MacBook Pro 2009 with 4G of RAM, and right after system reboot it shows about 2.8G of free memory, and 0 in swap.
    Then I start VMWare, for example, which only uses about 500-600 megabytes of RAM. After some time working with it, the amount of free memory in Mac OS X steadily decreases, and then it starts swapping, and the swap keeps growing... The system becomes slower and slower, but yet, Activity Monitor is still showing that VMWare is using about 500-600 megabytes of memory. At the same time it shows about 2 gigabytes of Active memory, and about 1G of inactive memory, and about 800 megabytes of "wired" memory...
    Where the **** did all the memory go??? Did system use it all for disk cache, trying to keep all disk images that VMWare is working with, in it at the expense of physical RAM available to other processes? If it is so - that's VERY silly, and while it may give an appearance of "snappiness" with small amount of simple applications that don't do much, it becomes a MAJOR problem for applications that work with large files - iMovie, VMWare, any other media processing application, cause Mac OS X to start swapping and beachballing, and become unresponsive after certain time of work, while the swap file keeps growing, yet the amount of memory used by those applications shown by Activity Monitor staying around 100-500 megabytes.
    I've been working with JES Deinterlacer the other day - trying to convert a 1080i/30fps video into a 720p/60fps one. The file was about 23 gigabytes in size. Besides that I've only had Mail and Safari open. Before I started the deinterlacing process, there was about 1.5G of free memory. After it started, the amount has been going down steadily, until the system started swapping and become unusable after awhile. The deinterlacing process also slowed down significantly (my guess is - again - the system tried to give memory needed by JES Deinterlacer to the disk cache for the file it's been processing). There's no point in caching that file at all - there's 0 chances the application will ever need to jump back to the parts of the file it's already processed! Or to read any parts of the new file it's created!
    What's other people's experience working with large files in Snow Leopard? Any Final Cut users? Or iMovie? Does your system exhibit the same behavior? Have you tried monitoring memory usage while you work with any of the applications that work with large files?

    Having exactly the same issue. However, I cannot even get VMware to start. It gives me a "could not open paging file" message and never opens. I have also had strange random crashes recently where it seems to run out of memory and then the force quick dialogue opens and usually Safari, Entourage, or Aperture are frozen or paused. Really getting to be a big issue.
    I contacted VMware and they looked at all the logs, had me try one change to an internal VM file, but without success. They now are suggesting that based on the logs, it is an OSX paging issue and that I need to do an archive and install!!! No way do I want to do that after just migrating to this new machine and getting everything set up so well!
    Need some alternative ideas. Actually hoping 10.6.2 comes out and solves it!

  • Problem with Firefox and very heavy memory usage

    For several releases now, Firefox has been particularly heavy on memory usage. With its most recent version, with a single browser instance and only one tab, Firefox consumes more memory that any other application running on my Windows PC. The memory footprint grows significantly as I open additional tabs, getting to almost 1GB when there are 7 or 8 tabs open. This is as true with no extensions or pluggins, and with the usual set, (firebug, fire cookie, fireshot, XMarks). Right now, with 2 tabs, the memory is at 217,128K and climbing, CPU is between 0.2 and 1.5%.
    I have read dozens of threads providing "helpful" suggestions, and tried any that seem reasonable. But like most others who experience Firebug's memory problems, none address the issue.
    Firefox is an excellent tool for web developers, and I rely on it heavily, but have now resorted to using Chrome as the default and only open Firefox when I must, in order to test or debug a page.
    Is there no hope of resolving this problem? So far, from responses to other similar threads, the response has been to deny any responsibility and blame extensions and/or pluggins. This is not helpful and not accurate. Will Firefox accept ownership for this problem and try to address it properly, or must we continue to suffer for your failings?

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with scanning and memory usage

    I'm running PS CS3 on Vista Home Premium, 1.86Ghz Intel core 2 processor, and 4GB RAM.
    I realise Vista only sees 3.3GB of this RAM, and I know Vista uses about 1GB all the time.
    Question:
    While running PS, and only PS, with no files open, I have 2GB of RAM, why will PS not let me scan a file that it says will take up 300Mb?
    200Mb is about the limit that it will let me scan, but even then, the actual end product ends up being less than 100Mb. (around 70mb in most cases)I'm using a Dell AIO A920, latest drivers etc, and PS is set to use all avaliable RAM.
    Not only will it not let me scan, once a file I've opened has used up "x" amount of RAM, even if I then close that file, "x" amount of RAM will STILL be unavaliable. This means if I scan something, I have to save it, close PS, then open it again before I can scan anything else.
    Surely this isn't normal. Or am I being stupid and missing something obvious?
    I've also monitored the memory usage during scanning using task manager and various other things, it hardly goes up at all, then shoots up to 70-80% once the 70ishMb file is loaded. Something is up because if that were true, I'd actually only have 1Gb of RAM, and running Vista would be nearly impossible.
    It's not a Vista thing either as I had this problem when I had XP. In fact it was worse then, I could hardly scan anything, had to be very low resolution.
    Thanks in advance for any help

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with JTree and memory usage

    I have problem with the JTree when memory usage is over the phisical memory( I have 512MB).
    I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then some of nodes are not visible.
    I hope somebody has an idea about this problem.

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • High memory usage when many tabs are open (and closed)

    When I open Firefox the memory usage is about 70-100 MB RAM. When I'm working with Firefox I often open 15-20 tabs at once, then I close them and open others. Memory usage increaes up to 450 - 500 MB RAM. After closing the tabs the usage usually decreases, but after sometime. It starts decreasing very slow and never comes back to the level from the beginning. After few hours of work Firefox uses about 400 MB RAM even if one tab is open. First I thought it's because of my plugins (Firebug, Speed Dial, Adlock Plus) but I've checked it and it's not. I reinstalled Firefox but the problem occurs as well. I'm not sure if it's normal. Could you help me, please?

    Hi,
    Not an exact answer but please [http://kb.mozillazine.org/Reducing_memory_usage_(Firefox) see this.] The KB article ponders through various general situations which may or may not be applicable to specific instances but nevertheless could be helpful.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://addons.mozilla.org/en-US/firefox/addon/whats-that-preference/ What's That Preference? add-on] - Quickly decode about:config entries - After installation, go inside about:config, right-click any preference, enable (tick) MozillaZine Results to Panel and again right-click a pref and choose MozillaZine Reference to begin with.
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions/Add-ons]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]

  • Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it

    Hi,
    I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
    continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I  close Excel it says: Excel stopped working and then it tries to recover information...
    I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
    a possibility to do so.
    Here the code I'm using, its reduced to functions which open something. Functions   
    get_v_tools() and get_change_tools() are same as get_client_positions().
    Public conODBC As New ADODB.Connection
    Public myPath As String
    Sub get_positions()
    Dim Src As range, dst As range
    Dim lastRow As Integer
    Dim myPath As String
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
    Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
    Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
    k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    Sheets("ToolsList").range("A2:M" & k).ClearContents
    'open connection
    Call open_connection
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    If lastRow < 2 Then GoTo ErrorHandling
    'copy bs price check multiplications
    Set Src = Sheets("SQL_DATA").range("AE2:AF2")
    Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
    dst.Formula = Src.Formula
    On Error GoTo ErrorHandling
    'new prices are calculated
    newPrice_calculate (lastRow)
    Calculate
    myPath = ThisWorkbook.Path
    'Refresh pivot table in Position Manager
    Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
    PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
    myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
    , Version:=xlPivotTableVersion14)
    ErrorHandling:
    Set Src = Nothing
    Set dst = Nothing
    If conODBC.State <> 0 Then
    conODBC.Close
    End If
    End Sub
    Sub open_connection()
    Dim sql_data, sql_data_change, sql_data_v As Variant
    Dim wdth, TotalColumns, startRow As Integer
    Dim rst As New ADODB.Recordset
    Errorcode = 0
    On Error GoTo ErrorHandling
    Errorcode = 1
    With conODBC
    .Provider = "OraOLEDB.Oracle.1"
    .ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
    .CursorLocation = adUseClient
    .Open
    .CommandTimeout = 300
    End With
    startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
    sql_data = get_client_positions(conODBC, rst)
    wdth = UBound(sql_data, 1)
    Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
    'Run change tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_change = get_change_tools(conODBC, rst)
    wdth = UBound(sql_data_change, 1)
    Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
    = sql_data_change
    'open SQL for V tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_v = get_v_tools(conODBC, rst)
    wdth = UBound(sql_data_v, 1)
    Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
    conODBC.Close
    ErrorHandling:
    If rst.State <> 0 Then
    rst.Close
    End If
    Set rst = Nothing
    End Sub
    Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
    Dim sql_data As Variant
    Dim objCommand As ADODB.Command
    Dim sql As String
    Dim records, TotalColumns As Integer
    On Error GoTo ErrorHandling
    Set objCommand = New ADODB.Command
    sql = read_sql()
    With objCommand
    .ActiveConnection = conODBC 'connection for the commands
    .CommandType = adCmdText
    .CommandText = sql 'Sql statement from the function
    .Prepared = True
    .CommandTimeout = 600
    End With
    Set rst_posi = objCommand.Execute
    TotalColumns = rst_posi.Fields.Count
    records = rst_posi.RecordCount
    ReDim sql_data(1 To records, 1 To TotalColumns)
    If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
    If TotalColumns <> 27 Then GoTo ErrorHandling
    If rst_posi.EOF Then GoTo ErrorHandling
    l = 1
    Do While Not rst_posi.EOF
    For i = 0 To TotalColumns - 1
    sql_data(l, i + 1) = rst_posi.Fields(i)
    Next i
    l = l + 1
    rst_posi.MoveNext
    Loop
    ErrorHandling:
    rst_posi.Close
    Set rst_posi = Nothing
    Set objCommand = Nothing
    get_client_positions = sql_data
    End Function
    Private Function read_sql() As String
    Dim sqlFile As String, sqlQuery, Line As String
    Dim query_dt As String, client As String, account As String
    Dim GRP_ID, GRP_SPLIT_ID As String
    Dim fso, stream As Object
    Set fso = CreateObject("Scripting.FileSystemObject")
    client = Worksheets("Cover").range("C9").Value
    query_dt = Sheets("Cover").range("C7").Value
    GRP_ID = Sheets("Cover").range("C3").Value
    GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
    account = Sheets("Cover").range("C11").Value
    sqlFile = Sheets("Cover").range("C15").Value
    Open sqlFile For Input As #1
    Do Until EOF(1)
    Line Input #1, Line
    sqlQuery = sqlQuery & vbCrLf & Line
    Loop
    Close
    ' Replace placeholders in the SQL
    sqlQuery = Replace(sqlQuery, "myClent", client)
    sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
    sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
    If GRP_SPLIT_ID <> "" Then
    sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
    Else
    sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
    End If
    If account = "ZZ" Then
    sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
    Else
    sqlQuery = Replace(sqlQuery, "ZZ", account)
    End If
    ' Create a TextStream to check SQL Query
    sql = sqlQuery
    myPath = ThisWorkbook.Path
    Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
    stream.Write sql
    stream.Close
    Set fso = Nothing
    Set stream = Nothing
    read_sql = sqlQuery
    End Function

    Thanks Starain,
    that's what I did the last days and found that the problem is in the
    newPrice_calculate (lastRow)
    function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
    Public errorMessage as String
    Sub newPrice_calculate(lastRow)
    Dim Type() As Variant
    Dim Id() As Variant
    Dim Price() As Variant
    Dim daysTo() As Variant
    Dim fx() As Variant
    Dim interest() As Variant
    Dim ObjCalend as Variant
    Dim newPrice as Variant
    On Error GoTo Catch
    interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
    Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
    daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
    fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
    qlError = 1
    For i = 2 To lastRow
    If (i, 1) = "LG" Then
    'set something - nothing spectacular like
    interest(i, 1) = 0
    daysTo(i , 1) = 0
    Else
    adjTime = Sqr(daysTo(i, 1) / 365)
    ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
    "CalObj", ... , .... other input parameters)
    If IsError(ObjCalend(i,1)) Then GoTo Catch
    'other calendar calcs
    newPrice(i,1) = Application.Run( 'quantLib calcs)
    End If
    Catch:
    Select Case qlError
    Case 1
    errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
    ObjCalend(i,1) (i, 1) = "N/A"
    End Select
    Next i
    Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
    'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
    ' erase and set to nothing all arrays and objects
    Erase Type
    Erase id
    Erase Price
    Set newPrice = Nothing
    Is there a possibility to clean everything in:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    End Sub
    Thanks in advance
    Mark

Maybe you are looking for

  • My Magic Mouse can't scroll in Lion

    i can scroll in anywhere before like going up and down in the safari is alright but now its not working can anybody can help me to fix it

  • User-defined function in order by?

    Hey guys.  We're trying to port our postgres db to Oracle, and I'm stumbling on this one issue.  We have columns called 'sortSequences', which are arbitrarily long arrays of integers.  For POC purposes, I am using varray(), but that probably won't wo

  • Send PDF form to email address user enters in textfield on form.

    I would like to be able to allow the person using the form to choose what email address the PDF form is emailed to. I read this post which sounds like what I want but I keep getting a Submit Cancelled error. The email does get generated and the form

  • Display brightness (darkness)

    I recognized that the brightness-slider in min. position doesn't really adjust the possible min. brightness the displays backlight-controller could do (~10%). Every 3rd party tool or as example VLC is able to go lower, but only temporarily as the set

  • Terminate a line on family share plan contract fulfilled on line

    How do i Cancel (1) line on a family plan? The contract for that line has been fulfilled!