Optimise RAM usage of Java with Swing

Hello!
I have written a little Java SWING Programm. It works great on my P4 3,2 GHz with 512 MB RAM.
Now I start it on an machine with Celeron 800 MHz with 256 MB RAM. After that I see a big Problem! My applikation consums between 30 and 32 MB RAM! How can I optimise this?! Are there tools to help me at this problem? Can you give me any tips?
Thanks for help
Rainer

one of Swing's problems that people often cite is its memory usage
jschell pointed out that even native windows wordpad takes ~12MB these days so 30MB isn't that much to worry about
you can use the recently released HAT (Heap Analysis Tool) from sun to look at where the objects on the heap are
alternatively HPJMeter (downloadable from hewlett packards website) can analyize the files generated by the -Xrunhprof JVM argument
I think just a HelloWorldSwing.java style program probably consumes around ~20MB - just because of things that Swing loads in order to run
asjf

Similar Messages

  • Can I build a GUI application with SWING only without [import java.awt.*;]

    I have seen several threads (in forums), books and tutorials about SWING and I see that they all mix SWING with AWT (I mean they import both Swing and AWT in their code).
    The conclusion that comes out is:
    It is good to learn about SWING and forget AWT as it won't be supported later. I have decided to do so, and I never include <<import java.awt.*;>> in my code.
    But I see that you cannot do much without <<import java.awt.*;>>. For example this line which changes the background color:
    <<frame.getContentPane().setBackground(Color.red)>>
    works only with <<import java.awt.*;>>. I have seen that codes in this and other forums import awt to change the background. Why is that?
    After all, I wonder, what can I do;
    My question is, can I change the background (and of course do all other things listener, buttons etc) without using <<import java.awt.*;>>.
    I would like to avoid using <<import java.awt.*;>> and using awt since my program will not work later.
    In addition, I believe there is no point to learn awt, which later will not exist.
    I know, I must have misunderstood something. I would appreceate it very much, if anyone could give me even a short answer.
    Thank you in advance,
    JMelsi

    Since swing is a layer on top of awt, AWT will exist for as long as swing does.
    If sun does ever remove AWT they will have to replace it something else swing can layer on to and you will probably only have to replace your import statements.
    The main difference is the way there drawn to the screen.
    You can do custom drawing on swing components but you can't on AWT.
    If your using a desktop PC system it's probably best to use swing just in case you wish to do some custom drawing.
    awt uses less memory than swing and is faster but swing can be extended. awt comes only as standard.
    Say for example you wish to implement a JButton with a ProgressBar below the button text, this can be done with swing!

  • RAM usage increases with time, problem?

    Hi all,
    Whislt I've been playing with linux on the side for a few years the past few weeks have been my first foray into using linux as my main OS, in the form of Arch. It's been a steep learning curve but I'm enjoying the experience and wealth of information. Previous flirts with Linux have been groping in the dark, pasting code from the internet and avoiding the terminal where possible.
    Since going Arch full time I've noticed the RAM usage seems to increase when I leave it alone for a few hours. I'm running an old, around 2005 I think, Advent Laptop with 512MB, or 466MB according to free -m, RAM. I've allocated 2GB to swap which it dips into occasionally.
    Typically I've been leaving open luakit & urxvt whislt running Awesome. If I leave it for a few hours and return the RAM has jumped from 30% or so to 80 or 90%. A reboot solves this.
    I had a look around the interwebs but this is the first time my wed-fu has not unearthed one of those wonderful arch articles/post on what to do.
    Any suggestions, or anything I can do to clarify the issue?

    It does indeed, but only while the system is being actively accessed, as far as I know. An idle system (i.e. with no filesystem access) will have a stagnant file cache.
    So I guess the question here would be, is your PC idle while you're "leaving" it? Do you use it as a fileserver, webserver, database, etc, or do you ssh in perform various tasks? Does 'free' report your free '-/+ buffers/cache' value as something minute?

  • 800MB RAM Usage with nothing running?

    I am pretty confused, my MacBook seems to be using a lot of memory with nothing significant running. I've cleaned all caches, and ran all the maintenance scripts, but from shutdown to restart, with nothing running (not even dashboard), it shows over 800MB of RAM in use. 250MB of that is wired, 750MB is active. I've checked my login items, and there's nothing that would cause such a large usage of RAM running. Even when I start the Activity Monitor, it doesn't even list anything using so much RAM. There's like 20-40MB RAM for the kernel task, window server and default stuff like that.
    Basically there seems to be a large amount of RAM used that I have no idea what is using it. Any clue at all what could be causing this?

    So you have 800 MBs of RAM in use. Why is that a problem? See the following:
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • RAM usage by Adobe Flash Player spikes when playing online flash games with 3D graphics

    Hi. I have recently noticed a spike in RAM usage by my flash player plug-in whenever I play online flash games that use a 3D graphics engine (for example, Farmville 2 and Chefville by Zynga). Apart from the numerous times I receive an error message that the plug-in has failed, my RAM usage goes above 70% from the regular 40% with the plug-in consuming more than 1Gb. I have experienced the problem with the updated version of Adobe Flash Player on the newest releases of Firefox, Chrome and RockMelt. This spike in usage usually leads to a crash of my GPU (ATI Mobility Rabeon 4650 - 2Gb) My specs are as follows:
    OS - Windows 7 Home Premium 64-bit
    Processor - Core i5
    Speed - 2.27 GHz
    RAM - 4.00Gb (3.86 Gb usable)
    HDD - 500 Gb (465 Gb usable)
    I should also note that the required specifications for the latest version of Flash Player (11.7.700.202) requires processing speeds of 2.33Ghz. Could that be the issue? I am still to attempt downgrading of my Flash version to see if that could help reduce the RAM usage. Are there any other suggestions out there?

    Hmmm... Win 7 will run faster than Mavericks with 8Gb. Even my Vm of 7 runs faster once I get it past all the startup processes.
    It may or may not be a connectivity problen since Windows uses a different protocol, even though it's on the same hardware. Usually though, what affects OS X will affect BootCamp too.
    What browser?

  • High RAM usage when system is 'idle' (EtreCheck)

    Hey guys,
    First timer here. Ok here's my question :
    I recently bought a secondhand Macbook pro 15 inch. For me it's a huge upgrade coming from a 2009 13 inch Macbook pro. Because a friend of mine wants to buy my old one I was doing some diagnostics on the 13 inch, which has 4 GB of RAM, and found out it had a lot of inactive RAM usage and wired usage, almost 2 GB, due to a lot of launchdaemons etc which were hogging the RAM. I used terminal to kill these agents and deamons and now that system is running smooth again. Maybe it's wise to mention that the 13 inch runs on ML.
    3 days ago I did a clean Yosemite install on the 15 inch, swapped the HDD for a SSD. And already the activity monitor shows a whopping 4,28 GB of RAM usage while I'm typing this with just safari open. I thought I could do the same trick as I did with my 13 inch but it didn't help, had some java deamons and helpers and deleted those. In terminal I looked up everything via launchctl list and there's nothing unusual going on as far as I can see. I had VirtualBox for one day but uninstalled it using their uninstaller. I have no clue what's eating all this RAM.  Please help me out so I can be a proud owner of my second macbook for atleast 5 years to come. Thanks in advance.
    EtreCheck version: 2.1.8 (121)
    Report generated 15 februari 2015 08:45:30 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 685
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1680 x 1050
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:52:24
    Disk Information: ℹ️
        Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (457.96 GB free)
                Core Storage: disk0s2 499.25 GB Online
        HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        Iomega eGo HDD 800mbit - 800mbit max
            disk2s1 (disk2s1) <not mounted> : 32 KB
            disk2s2 (disk2s2) <not mounted> : 29 KB
            disk2s3 (disk2s3) <not mounted> : 29 KB
            disk2s4 (disk2s4) <not mounted> : 29 KB
            disk2s5 (disk2s5) <not mounted> : 29 KB
            disk2s6 (disk2s6) <not mounted> : 262 KB
            disk2s7 (disk2s7) <not mounted> : 262 KB
            disk2s8 (disk2s8) <not mounted> : 262 KB
            Iomega_HDD (disk2s10) /Volumes/Iomega_HDD : 319.94 GB (30.10 GB free)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Launch Agents: ℹ️
        [unknown]    com.oracle.java.Java-Updater 06.40.36.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [unknown]    com.oracle.java.Helper-Tool 07.05.30.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Programma  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
        Default Browser: Version: 600 - SDK 10.10
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             4%    WindowServer
             1%    fontd
             0%    sysmond
             0%    AppleSpell
             0%    notifyd
    Top Processes by Memory: ℹ️
        198 MB    com.apple.WebKit.WebContent
        172 MB    Safari
        94 MB    mds_stores
        86 MB    WindowServer
        43 MB    Dock
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 15, 2015, 07:53:01 AM    Self test - passed
        Feb 12, 2015, 09:53:18 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/Live_2015-02-12-095318_[redact ed].crash

    This machine has not run out of RAM.
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    The page outs indicate the OS has not recently swapped any memory to disk.
    Apple made changes to 10.9 that are the same on 10.10. Memory will be used as much as possible. It is the fastest storage on the system, keeping it free is a waste of your time - data loads fastest from RAM.
    This is a good explanation…
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/#compressed-memory
    The system also frees 'cache' memory when another process has more need to use it. Eventually it will swap to disk (which is slow) so the OS also compresses memory before swapping is needed.
    Please avoid killing launchd jobs, many will simply restart or relaunch again later. Eventually you may kill one that hangs the OS & corrupts the disk via a forced shutdown.
    I do suspect you may see issues when RAM does get low, but there is no evidence of that here. The memory pressure graph will show red when swapping - every other colour is fine. Wait until you see red & then note the top memory users.
    If you don't want java installed you need to find removal instructions & get it all off the system, simply stopping the update checks will leave Java in an old state - terrible for security.
    Also do you know what 'Live' is? It crashed recently, if it keeps doing that it may be worth a look, however it may just be one if the things that was effects by the killing spree

  • High kernel_task RAM Usage in Yosemite 10.10.1

    Hello All,
    No matter what I'm running, I always have high RAM usage with kernel_task. I've looked around the other threads and never found a definitive solution. I wouldn't call it crippling to my system but I would like to resolve the issue. Below is a screenshot of my activity monitor, and my Etrecheck run. Please let me know anything I can do to reduce the RAM usage of this process.
    Problem description:
    High kernel_task RAM Usage (800MB - 1.5GB)
    EtreCheck version: 2.1.5 (108)
    Report generated December 18, 2014 at 10:49:34 PM EST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 512 MB
      Color LCD 1440 x 900
      AMD Radeon HD 6750M - VRAM: 512 MB
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:36:30
    Disk Information: ℹ️
      WDC WD1001X06X-00SJVT0 disk0 : (1.12 TB)
      EFI (disk0s1) <not mounted> : 210 MB
      SSD (disk0s2) / : 119.69 GB (61.10 GB free)
      Macintosh HD (disk0s3) /Volumes/Macintosh HD : 1.00 TB (529.88 GB free)
      HL-DT-ST DVDRW  GS31N 
      ST1000LM024 HN-M101MBB disk1 : (1 TB)
      disk1s1 (disk1s1) <not mounted> : 32 KB
      HD-PATU3 (disk1s3) /Volumes/HD-PATU3 : 1.00 TB (196.18 GB free)
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
      BUFFALO INC. HD-PATU3
    Configuration files: ℹ️
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Anywhere
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.rane.driver.sixtyeight.10.6 (1.1.2f4) [Support]
      [not loaded] com.rane.driver.sixtyone.10.6 (1.0.0f1 - SDK 10.6) [Support]
      [not loaded] com.rane.driver.sixtytwo.10.6 (1.0.0f1 - SDK 10.6) [Support]
      [not loaded] com.rane.driver.sl2.10.6 (1.0.1f3) [Support]
      [not loaded] com.rane.driver.sl3.10.6 (1.3.2f6) [Support]
      [not loaded] com.rane.driver.sl4.10.6 (1.0.1f3 - SDK 10.6) [Support]
      [loaded] com.serato.usb.kext (2.3.0) [Support]
      /Volumes/Macintosh HD/Applications/MATLAB_R2015a.app
      [not loaded] com.mathworks.sldrtkrn (5.0.0 - OS X 10.8) [Support]
      /Volumes/Macintosh HD/Applications/SoundTap.app
      [not loaded] com.NCHSoftware.driver.SoundTapVirtualAudioDevice (1.0.0d1) [Support]
      /Volumes/Macintosh HD/Applications/Tunnelblick.app
      [not loaded] net.sf.tuntaposx.tap (1.0) [Support]
      [not loaded] net.sf.tuntaposx.tun (1.0) [Support]
      [not loaded] net.tunnelblick.tap (1.0) [Support]
      [not loaded] net.tunnelblick.tun (1.0) [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [failed] com.facebook.videochat.[redacted].plist [Support]
      [invalid?] com.valvesoftware.steamclean.plist [Support]
      [loaded] net.tunnelblick.tunnelblick.LaunchAtLogin.plist [Support]
    User Login Items: ℹ️
      MacOS Folder (/Applications/Steam.app/Contents/MacOS)
      Alarm Clock ApplicationHidden (/Applications/Alarm Clock.app)
    Internet Plug-ins: ℹ️
      JavaAppletPlugin: Version: Java 8 Update 25 Check version
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Unity Web Player: Version: UnityPlayer version 3.5.6f4 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 10.1.13 [Support]
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 10.1.13 [Support]
      DirectorShockwave: Version: 11.6.6r636 [Support]
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
      SeratoVirtualAudioPlugIn: Version: 1.0.11 [Support]
      Hear: Version: 1.1.1 - SDK 10.5 [Support]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Java  [Support]
      SIXTY-EIGHT Audio Control Panel  [Support]
      SL 2 Audio Control Panel  [Support]
      SL 4 Audio Control Panel  [Support]
      TimeMachineScheduler  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: OFF
      Auto backup: YES
      Volumes being backed up:
      SSD: Disk size: 119.69 GB Disk used: 58.59 GB
      Destinations:
      HD-PATU3 [Local]
      Total size: 1.00 TB
      Total number of backups: 44
      Oldest backup: 2013-12-25 21:46:07 +0000
      Last backup: 2014-12-16 21:41:48 +0000
      Size of backup disk: Excellent
      Backup size 1.00 TB > (Disk size 119.69 GB X 3)
    Top Processes by CPU: ℹ️
          12% Google Chrome Canary
          1% WindowServer
          0% fontd
          0% hidd
          0% GoogleTalkPlugin
    Top Processes by Memory: ℹ️
      275 MB Google Chrome Canary
      241 MB iTunes
      172 MB mds_stores
      155 MB Finder
      134 MB Google Chrome Helper
    Virtual Memory Information: ℹ️
      10.95 GB Free RAM
      3.59 GB Active RAM
      777 MB Inactive RAM
      1.85 GB Wired RAM
      2.81 GB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 18, 2014, 10:13:38 PM Self test - passed
      Dec 18, 2014, 10:05:52 PM /Library/Logs/DiagnosticReports/backupd_2014-12-18-220552_[redacted].cpu_resour ce.diag [Details]

    The kernel_task memory usage is normal.

  • MacBook Pro very high overall RAM usage

    Hi, I'm using a late 2012 13" MacBook Pro with 8GB of RAM and a dual core i7 and I've been experiencing very high RAM usage for the last couple of weeks even though I'm not really doing anything. Here's a activity monitor screenshot
    As you can see I'm only really using Chrome and Sublime Text (3). Twitter and Outlook are also open but don't take up that much (Twitter maybe but that just seems to be badly optimised and it's all gone when I close it).
    So, is this normal?
    Thanks in a

    This is normal. The two most important things in that screenshot are 'Swap Used' (0 means you never ran out of RAM) and the Memory Pressure graph (everything green = good). For the rest the OS knows to handle RAM,

  • Firefox 4.0 RAM usage soars over time in Mac OSX 10.6.7 and is never freed

    Firefox 4.0 RAM usage typically averages between 400-750MB for light usage (1-2 windows, 1-3 tabs each). Memory usage skyrockets over time, and/or if I open more tabs or windows where I've seen it consume well over 1 GB of RAM of my total 4 GB. Firefox 4.0 never seems to free much of this RAM relative to what it's consuming either.
    The only plugins enabled are QuickTime, Flash and Java (and disabling any of these to use Firefox efficiently should not be required).
    The worst I've ever seen was it using 1.27 GB of RAM when all I had open was Facebook (1 window, 0 tabs). Something is not right with this browser...Shouldn't it free what it isn't using?

    Same here. I upgraded to FF5 yesterday morning and by this morning FF was using 1.26GB RAM and over 1GB Virtual Memory (less than 24 hours). I've had this problem ever since I started using FF with version 3...
    The only add-on I use is Firebug.

  • Ever increaing RAM usage of flashPlayer not shown in memory profiler of FlashBuilder

    I have a flash application created with Flex in FlashBuilder which uses the Stage3D-API (Away3D-Library is used).
    In this flash application 3D-objects are created and added to scene and they are also removed/disposed again, and then they are created/added again.
    Performing these scene altering operations the RAM usage of the flashPlayer process (monitored in Windows7-Taskmanager) steadily increases by big amounts (lets say 20MB).
    On the other hand the Memory-profiler does not show any such increases at all. Regarding to memory profiler the application still uses bascially the same amount of memory (the line stays flat).
    There are some objects marked as loitering, but  they donet seem to build-up. And their total amount is (if at all) 0,3MB.
    After a while of 3d-scene altering operations (adding, removeing objects) the application/flash-player crashes, most possibly to not being able to allocate more RAM (Taskmanager shows RAM almost completely used up by flashPlayer-process). The application does not exit due to 3d-resource related limits like vertex-buffers, but here are now my questions:
    Questions:
    a) Are there areas of RAM-usages a (stage-3d) application uses up, which can not be profiled by FlashBuilder?
    For exmaple: Is it possible that some objects (maybe stage-3d related) that hold onto some areas of memory/RAM which do not show up in memory profiler?
    c) Is the versioning of used components (flashPlayer, FlashBuilder or used Flex-SDK) in an way relevant when memory profiling an application? It it possible that i dont properly see the used memory by my application because i might have old version of involved components?
    d) Do you have any other idea what might be the cause here for increased RAM-usage or why it does not show up in memory profiler? I mean at least i expected to see it in memory profiler.
    e) Generally i understand that the flashPlayer allocates RAM as it sees fit, and that its not the same amount of memory my application currently uses. But if my application seems not to use/demand any more memory (at least thats what the profiler tells me) i dont understand why flashPlayer allocates more and more memory - even to the point of crashing. Any ideas here?

    Long shot but...
    When I had an issue with Flash Builder 4.6 PC mobile in regards to the java heap problem I discovered myself that my project had content which apparently blew out the FB threshold. In particular my mp3 files (3 units) were of too much high quality (360 kbps), I had to scale down the files to 128 kbps. This is an extreme shame.
    I am currently running these threshold tests to see if my mp3s can be of better kbps. I did hack my CONFIG scripts in the sdk folders in the installation location but that did not solve my issue. LESSON LEARNED: FB apparently employs the web logic where reduced files equal better performance.

  • Kernel_task high RAM usage

    Hi everybody,
    I have same problem on both iMacs i use (iMac9,1 and iMac10,1). Both updated from Maveriks to Yosemite some months ago and since last 2 weeks kernel_task "eat" to much RAM.
    I tried to solve with all kind of resets, move files from ACPI_SMC _PlatformPlugin.kext, hardware test, reinstall and restore from time machine and finaly also with a complete clean reinstall (without TM restore!). But kernel_task run with too much RAM usage.
    I feel frustrated and I seem to be back like Windows users!
    So, i think problem could be associated to some software upgrade (DropBox? Skype? Osx update? don't know). Anyone knows if there are usefull debugs system log for kernel_task usage?
    This is log from EtreCheck of iMac9,1
    EtreCheck version: 2.1.8 (121)
    Report generated 13 marzo 2015 16:32:54 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2009) (Verified)
        iMac - model: iMac9,1
        1 2.66 GHz Intel Core 2 Duo CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400 - VRAM: 256 MB
            iMac 1920 x 1200
            HP LP2065 1200 x 1600 @ 60 Hz
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 7:21:25
    Disk Information: ℹ️
        WDC WD6400AAKS-40H2B0 disk0 : (640,14 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 639.28 GB (400.31 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        OPTIARC DVD RW AD-5670S
    USB Information: ℹ️
        Iomega Iomega eGo HDD 500,11 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Backup (disk2s2) /Volumes/Backup : 499.76 GB (417.61 GB free)
        Western Digital My Book 111A 1 TB
            disk1s1 (disk1s1) <not mounted> : 32 KB
            AleTM (disk1s5) /Volumes/AleTM : 200.00 GB (69.55 GB free)
            Archivio (disk1s7) /Volumes/Archivio : 599.77 GB (456.78 GB free)
        Apple Inc. Built-in iSight
        Apple, Inc. Keyboard Hub
            Mitsumi Electric Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Configuration files: ℹ️
        /etc/hosts - Count: 1
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Adware: ℹ️
        Conduit [Adware! - Remove]
    Kernel Extensions: ℹ️
            /Library/Application Support/VirtualBox
        [loaded]    org.virtualbox.kext.VBoxDrv (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetAdp (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetFlt (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxUSB (4.3.18) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.intel.kext.intelhaxm (1 - SDK 10.6) [Click for support]
        [loaded]    com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) [Click for support]
    Problem System Launch Daemons: ℹ️
        [failed]    org.postfix.master.plist [Click for details]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.AdobeCreativeCloud.plist [Click for support]
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.leapmotion.Leap-Motion.plist [Click for support] [Click for details]
        [not loaded]    com.logmein.logmeingui.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagent.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagentatlogin.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Click for support]
        [running]    net.culater.SIMBL.Agent.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.barebones.authd.plist [Click for support]
        [loaded]    com.barebones.textwrangler.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [failed]    com.leapmotion.leapd.plist [Click for support]
        [not loaded]    com.logmein.logmeinblanker.plist [Click for support]
        [not loaded]    com.logmein.logmeinserver.plist [Click for support]
        [loaded]    com.logmein.raupdate.plist [Click for support]
        [loaded]    com.opendoor.doorstopdaemon.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.teamviewer.Helper.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Click for support]
        [loaded]    com.vmware.launchd.vmware.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
        [not loaded]    org.virtualbox.startup.plist [Click for support]
        [loaded]    org.wireshark.ChmodBPF.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    [email protected] [Click for details]
        [running]    com.nds.pcshow.plist [Click for support]
        [loaded]    com.nds.pcshow.uninstall.plist [Click for support]
        [failed]    com.spotify.webhelper.plist [Click for support]
        [loaded]    com.tencent.xin.WeChatHelper.plist [Click for support]
        [not loaded]    com.victorpimentel.TVShowsHelper.plist [Click for support]
        [not loaded]    org.virtualbox.vboxwebsrv.plist [Click for support]
    User Login Items: ℹ️
        Adium    Applicazione  (/Applications/Adium.app)
        Mail    Applicazione  (/Applications/Mail.app)
        TextWrangler    Applicazione  (/Applications/TextWrangler.app)
        Skype    Applicazione  (/Applications/Skype.app)
        Dropbox    Applicazione  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        AdobePDFViewerNPAPI: Version: 11.0.02 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        DivX Web Player: Version: 3.1.0.13 - SDK 10.5 [Click for support]
        AdobePDFViewer: Version: 11.0.02 - SDK 10.6 [Click for support]
        LogMeInSafari32: Version: 1.0.961 - SDK 10.7 [Click for support]
        Unity Web Player: Version: UnityPlayer version 3.5.0f6 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0
        RealPlayer Plugin: Version: Unknown [Click for support]
        QuickTime Plugin: Version: 7.7.3
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        LogMeIn: Version: 1.0.961 - SDK 10.7 [Click for support]
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    User internet Plug-ins: ℹ️
        BlueStacks Install Detector: Version: Unknown
        BrowserPlus_2.6.0: Version: 2.6.0 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
        ConduitNPAPIPlugin: Version: 1.0 - SDK 10.6 [Click for support]
    Safari Extensions: ℹ️
        Conduit Search for Safari
    3rd Party Preference Panes: ℹ️
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        MagicMenu  [Click for support]
        MagicPrefs  [Click for support]
        PlugSuit  [Click for support]
        sshLogin  [Click for support]
        TVShows  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 639.28 GB Disk used: 238.96 GB
        Destinations:
            AleTM [Local]
            Total size: 200.00 GB
            Total number of backups: 1
            Oldest backup: 2015-03-13 14:28:33 +0000
            Last backup: 2015-03-13 14:28:33 +0000
            Size of backup disk: Too small
                Backup size 200.00 GB < (Disk used 238.96 GB X 3)
    Top Processes by CPU: ℹ️
             6%    VirtualBoxVM
             4%    master
             3%    firefox
             2%    WindowServer
             1%    SystemUIServer
    Top Processes by Memory: ℹ️
        2.29 GB    VirtualBoxVM
        807 MB    firefox
        258 MB    mds
        198 MB    MailTab for Gmail
        163 MB    WindowServer
    Virtual Memory Information: ℹ️
        54 MB    Free RAM
        2.13 GB    Active RAM
        2.09 GB    Inactive RAM
        3.23 GB    Wired RAM
        117.96 GB    Page-ins
        151 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 11, 2015, 10:03:38 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/plugin-container_2015-03-11-10 0338_[redacted].crash
        Mar 11, 2015, 09:47:20 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/plugin-container_2015-03-11-09 4720_[redacted].crash
        Mar 13, 2015, 09:06:20 AM    Self test - passed
    On this report kernel_task ram is not displayed but you can see it on task manager image
    Any help is apreciated.
    Thank you!

    There is nothing wrong with your kernel_task memory usage.  It is consistent with the amount of RAM you have installed.
    The kernel_task manages virtual memory page tables.  The more RAM the the more table space consumed.  800MB memory usage for kernel_task is in line with having 8GB of RAM in your Mac.
    My 16GB Macbook Pro kernel_task has 1.15GB of memory.  People with 32GB Macs, have more like 1.5GB.  And Macs with 4GB have something around 500MB more or less.
    Tangent observation.  Unless you have a Paid LogMeIn account, the free version has been discontinued, and you should most likely remove the LogMeIn components via the LogMeIn uninstaller.  Your use of TeamViewer.com is a good substitute for the free LogMeIn.
    You system has been up for just 7 and a half hours
        OS X 10.10.2 (14C109) - Time since boot: 7:21:25
    But you have
        117.96 GB    Page-ins
    That averages out to 4.6MB per second.
    Chances are you could either benefit from not running as many concurrent things (maybe remove the large number of kernel extensions, launch daemons, launch agents you have installed), maybe only run VirtualBox when you really need to run Windows (assuming it is Windows, but I guess it could be Linux or Solaris X86), or have fewer tabs open in your web browser, or run fewer Apps, especially the big memory hungry kind)
    Or maybe you just need more RAM if you must have all these things installed and running all the time.
    Just a thought.  But it is not kernel_task that is causing problems.  That is normal.

  • Why does closing all open windows (15) and leaving only one drop ram usage from 1.5 to 1.4Gb and not more.

    Why does closing all open windows (15) and leaving only one drop ram usage by only 100mb from 1.5 to 1.4Gb.
    What is in this 1.4 gb ?
    I don't care much about ram, It's just that cpu usage spike like crazy by the end.
    ''Edited to remove swearing - TonyE''

    Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
    Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
    *[[Export bookmarks to Internet Explorer]]
    You should not use old versions they are insecure. Security fixes are publicised and exploitable.
    * [[Install an older version of Firefox]]
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
    *[[Send performance data to Mozilla to help improve Firefox]]
    Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
    *[[Troubleshoot Firefox issues using Safe Mode]]

  • Runaway RAM Usage leading to Kernel Panic using FilmConvert Plugin (updated x3)

    Hello, filed a bug report on this but cuious if anyone sees it.
    Late 2012 27 iMac, top line i7 with 680MX, 32 GB RAM.
    Promise R6 TB RAID.
    Trying to render out a 15 min edit from Premiere that has each clip with 3 filters on it - MB Looks, MB Colorista, Filmconvert.
    Since 7.01, every time I render previews or encode out, RAM use skyrockets way past the 25GB I allocated. I get up to a 50GB swap file in fact before the computer just craps out and I can't finish my render. (Nothing past 15 min anyway, I can do under that length ok.) As of this moment PPro Headless in Activity Monior has allocated 40GB and climbing....
    Any ideas?  Kind of a major issue. Does not happen on CS6 with same filters and similar project.
    PS - The same issue is happening with the same project on my Macbook Pro 15" retina with 16GB of RAM. It's creating a huge swap file. On the iMac with Fusion drive I can't complete the render at all due to the system SSD filling up on the Fusion drive. It eventually crashes and reboots. I can complete the render on the laptop, but it ends up with a 50+ GB swap file.
    UPDATE 1:
    I had my suspicions a Plugin I am using, the excellent (but now unusable for over 10 min projects) plugin "FilmConvert" was causing the issue on all my Macs.
    To prove it's the plugin, I removed duplicated my main 15 min sequence, removed the FilmConvert plugin from all clips while keeping the two Magic Bullet effects on. So, all filters (MB Looks, MB Colorista II) BUT filmConvert.
    Result?
    RAM usage stays where it should be (at the limit set in Premiere Pro CC) and there is zero swap file usage. Same project, same filters, same everything except FilmConvert was removed on this duplicate timeline.
    As it stands, the plugin is unusable for longer projects.  I'm still curious if anyone else has seen this, or if Adobe has any input.
    UPDATE 2: I developed a workaround workflow and the vendor wrote back and thinks it's a bug in PPro CC, but will try to see if they can't code around it:
    "We have had one other very recent report of this type of behaviour, but when rendering through the CC version
    of Adobe Media Encoder or Premiere (but not After Effects). I believe the issue is with Media Encoder / Premiere,
    although it's probably preventable within our plugin. The problem I believe is that Premiere and Media Encoder
    create many instances of the plugin during a  render, one instance per frame, and it seems in CC those instances
    do not get cleaned up until after the render finishes.
    As each plugin instance is expecting to be called many times, to render multiple frames, it keeps a certain amount
    of memory allocated, in order to gain a speed advantage."
    I am using the render previews workflow to deal with it for now. I set my sequence to my master codec (in this case ProRes 422 HQ, with maximum quality checked). Then I preview chunks of the timeline setting in/out, render. Then I quit the program, which frees up the RAM and the need for the swap file, which starts reducing itself. Then I run PPro again, and preview another chunk, and repeat the process until done.
    To export final piece, I just export using previews matching the sequence (which is ProRes 422 HQ) and it is a straight copy at that point and quick. This is a useful workflow if you are making tons of minor edits for a client anyway, as it vastly speeds up re-renders of the final file.  No loss in quality as the previews are the same as my final encode would be anyway.
    Still, it would be nice if Adobe/FilmConvert or both could fix this bug so I can just queue up a whole sequence and walk away without chunking it up if I need to.
    Update 3: If only Adobe could move so fast. Rubber Monkey sent me a new version to test today, and it fixed the problem. Amazing customer service!! It has not been released yet but I suspect it will be at some point. Case closed.

    Glad I'm not the only one. My temporary solution was to download the kernel and wl package from December 2012 found http://repo-ck.com/PKG_source/ and then mkpkg and install it. It'll work as an alternative for now, without messing up the primary kernel setup.

  • OSX Lion ram usage

    Well, i've got my 13' Macbook Air today (4gb ram), and love it.
    The only thing that bothers me is the extremely high ram usage of Lion, when i turn the Macbook on it jumps to about 1.3gb ram usage which i find really much considering my PC running Windows 7 uses less.
    After some casual usage it even jumps up to about 2 gb ram usage.
    Is this normal? how are the other Air's with only 2gb of ram handling this? there can't be much left there, besides just running the operating system.
    i am new to Mac's so am i doing something wrong?

    Hi all,
    After last Lion update a i seem to encounter a very strange situation regarding ram usage.
    I have an early 13' mbp core i5 with 8gb of ram.
    After upgrading to lion 10.7.1 i have less than 500mb available after just a few hours since i turn it on.
    I must mention that the only running apps are: safari, mail, app store, ichat, ms excell and itunes.
    Upon quitting excell, itunes, appstore and restarting mail and safari i still only get 1,5gb of free ram.
    My suspicion is that there is another ram leak somewhere, or else i can't explain why my computer user 128mb of swap with 8gb of ram installed.

  • JAVA WITH WINDOWS FORM?

    Dear all,
    I have a question about java with windows form.
    I have an exe or DLL stand alone program make by visual basic 6.
    Also I have a java software build up with swing.
    Can the exe or DLL program executed inside the Java software?
    It means I click the menu and select a function in the Java software.
    And then the exe or DLL will be executed and a windows form will be pop up.
    But I want to fake like a Java jpanel not a stand alone program run outside the Java software.
    Is it possible?
    Thanks you~~

    All here,
    You can do it ... we can hep!
    Once you choose the exe you want to run, execute it via Process ... about like so:
              String theWindowsProcess =
                                  "notepad.exe";         // OR
    //                            "runtc.bat";                // OR
    //                            "cmd /C start /min /Dc:\\temp runtc.bat";
              Process myProcess = Runtime.getRuntime().exec( theWindowsProcess);BTW ... this is a very common question.

Maybe you are looking for

  • SOAP to rfc XMLSPY not conneting with PI 7.1 server

    hiii gurus, I am trying soap to rfc scenario. i have completed all the steps.. generated the webservice . now i am testing from XMLSPY when im sending the soap request to sender i m getting the following error. "<?xml version="1.0"?> <!-- see the doc

  • My text messaging app is not working PLEASE HELP!!!

    My text messaging app is not working at all is a blank screen when I open it! Help!!!

  • Can't get login script to work - tried both prefs and tty methods ...

    Calling all you script gurus ... I'm trying to auto-mount a sparse image on login (why? I got my 17" stolen along with the data - i'm using an encrypted image as my document repository now). I can't get this simple script to run using either method (

  • Field value selection on a selection screen

    Hi expert, I have a requirement. In a selection screen say there are 4 fields let say f1, f2, f3, f4.  Now If a select a value of f1 in the selection screen based on the value of f1,  other fields (f2, f3, f4 ) will be populated. How can i do that? A

  • What is a Regular Expression?

    I have been programming for a couple of years, and I keep hearing people talk about regular expressions and perl like regular excpression. Java has an api for regular expression's, and I would just like some one to lay down the facts and explain to m