Image loadClip memory usage problem

I'm trying to create a gallery with built in slideshow. I
load the images sequentially and then use the tween class to
animate alpha values to shift between images. But when about 20-25
images are loaded, the memory usage get too high and the animations
start to lag.
I know i can remove the images again, but that means i have
to load them all over again when the slideshow starts over again.
I know there must be a solution 'cause i've seen galleries
which loads images without increasing memory usage, and the images
is cached after loading.
Hope you can help me.

No. The basic principle is that you need to set the images to
invisible. Only the two that are tweening can be visible. The
problem you are experiencing occurs when you have more than 8 or 9
images. Usually I put the first image at the bottom of the stack so
that's why I said 'the one on top'.

Similar Messages

  • High memory usage problem

    Firefox regularly creeps up to about 350 mb of memory usage. It runs poorly, crashes, etc. I read some other posts about how to reduce the its memory usage via about:config tweaks. I made adjustments to browser.cache.disk.capacity (was set to over 1,000,000, reduced to 50,000) and config.trim_on_minimize. However, memory usage has not decreased. I also see the value browser.cache.disk.smart_size_cached_value;1048576. I changed this to 50,000 also, but it reverts to the original number after every restart.
    I have 3 tabs open right now (Hotmail, Google, and this page) and memory is at 242,000.
    I should also note that I recently reformatted my hard drive. Firefox has almost no extensions or plug-ins installed (other than things like Flash and Silverlight). I'm running Windows 7 64-bit, and have 6 gb of RAM.
    Any suggestions for alleviating this problem would be greatly appreciated.

    235 to 285 MB seems to be a rather low notification threshold on a PC that has 3GB installed, not even 10% of RAM being used and that message is triggered.
    That's a new feature in AVG, and I suspect it might need a little tweaking. Unfortunately AVG didn't seem to provide any user adjustments into that feature, so the best thing to do is turn it off if that warning message appears too often.
    Here's an AVG support thread where the users says he gets that message with IE, Chrome, and Firefox. <br />
    http://forums.avg.com/us-en/avg-forums?sec=thread&act=show&id=180124

  • HELP: iPhoto 6.0.6 memory usage problem, iMac getting *slow*

    Hi,
    I have a 20" iMac with 2 Gig RAM.
    I have iPhoto 6.0.6 with lots and lots of pictures and little movies (taken with an old digital camera) -- a "get info" on the "iPhoto Library / Originals" folder says there are 9836 items in there.
    When I open iPhoto, the Activity Monitor indicates iPhoto is using 130meg real memory, 130meg virtual memory. With every "page down" in iPhoto (the thumbnails are running about 6 items across) about 50 meg of memory gets added to real memory, and even more gets added to virtual memory.
    After just a few minutes of usage it now looks like this:
    Real Memory: 382.43 MB
    Virtual Memory: 1.18 GB
    Eventually the computer gets extremely slow and unresponsive; I've seen the iPhoto memory usage as high as:
    Real Memory: 1+ GB
    Virtual Memory: 2+ GB
    Does anyone have any suggestions for how I can fix this problem?

    I have to say that the Virtual Memory numbers compare quite okay with both my Macs here, the Actual Seems slightly higher but noting spectacular. That said, the highest you’ve seen do see quite extraordinary.
    Something to try:
    Create a new account (systempreferences -> accounts) and make a library there. Import some pics and see if the problem is repeated there.
    Regards
    TD

  • Memory usage problem with TDMS files

    Hi,
    I have used TDMS write file to save my real time data .  I need to leave my VI,  running   for a long time (even one day ) then I  process the acquired data in a seperate vi.
    My problems are
    I olways get memory usage message during data  acquization. Also even if I finish acquization ( for example make a 2GBytes TDMS file I get the same message when I want to try to read it. 
    To read the TDMS fisrt I open ,configure ,read and then close the TDMS ref.Then I use the data from the TDMS as input to my loop.
    By using this method I olways get (Memory usage message ) and I need to stop the process loop. Would you please help me how can I avoid this problem

    your problem is the attempt to attach all the data in one big goo in memory. A 2GB TDMS file needs probably a little more than 2GB in memory if you want to read all its contents at once. That is BAAAD! You should try to write your analysis in a way that can read the data in smaller chunks and process each chunk individually instead of trying to load the entire GIGA blob at once. Computers can have a lot of memory nowadays but that does not mean that you should attempt to operate on GigaByte data in memory in one go.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Memory usage problem on AIX 7.1

    Hi,
    We are running Oracle 11GR2 EE on AIX 7.1 and keep getting alerts on the pgchecks (memory paging).
    The alerts are coming from another system monitoring tool (Hobbit), but our sys admins are telling us it is because we are overallocating memory.
    In our case, we have an 8G SGA for the only database.
    Then, we are running grid and ASM.
    How can I check the actual (real) memory usage by individual processes of our Oracle database, our emagent (OMS agent), and for our ASM. In our case, we have 32G of Real Memory installed, and we should not be having a memory paging issue.
    For the Oracle database, it is set for 8G.
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pga_aggregate_target                 big integer 0
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 8480M
    sga_target                           big integer 0For our ASM instance, it is set for 270M
    SQL> sho sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pga_aggregate_target                 big integer 0
    sga_max_size                         big integer 272M
    sga_target                           big integer 0

    do as below (vmstat takes 2 minutes to complete)
    bcm@bcm-laptop:~$ vmstat 6 20
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
    0  0      0 1347636  81396 1592120    0    0   264    22  382  651  8  3 84  5
    0  0      0 1347664  81404 1592144    0    0     0    13  515 1028  4  1 95  0
    0  0      0 1353136  81412 1592144    0    0     0    14  507 1021  3  1 95  0
    0  0      0 1353012  81420 1592144    0    0     0    23  523 1033  3  1 95  0
    0  0      0 1353044  81428 1592144    0    0     0    13  513 1026  3  1 96  0
    0  0      0 1353044  81436 1592144    0    0     0    15  517 1045  3  2 95  0
    0  0      0 1352920  81444 1592144    0    0     0    15  505 1012  3  1 96  0
    1  0      0 1347448  81452 1592156    0    0     1    21  521 1038  4  2 94  0
    0  0      0 1347448  81460 1592156    0    0     0    28  513 1030  3  2 95  0
    0  0      0 1347448  81468 1592180    0    0     1    21  529 1053  4  1 95  0
    0  0      0 1347200  81484 1592176    0    0     0    39  530 1067  3  2 95  0
    1  0      0 1347200  81492 1592172    0    0     0    14  530 1058  3  1 96  0
    0  0      0 1352796  81500 1592172    0    0     0    17  514 1034  3  2 95  0
    0  0      0 1352796  81508 1592180    0    0     0    21  516 1049  6  1 92  0
    0  0      0 1352764  81516 1592180    0    0     0    15  506 1024  2  1 95  1
    0  0      0 1352252  81524 1592180    0    0     0    15  563 1090  3  2 95  0
    0  0      0 1351836  81532 1592180    0    0     0    15  550 1066  4  1 94  0
    0  0      0 1346768  81540 1592200    0    0     1    18  547 1111  4  2 94  0
    1  0      0 1346152  81548 1592204    0    0     0    69  524 1059  3  2 94  0
    0  0      0 1346472  81556 1592244    0    0     1    17  498 1012  2  1 96  0

  • Hynix ecc reg dimm Memory usage problem for d20

    Dear lenovo forum.
    I Like to use for Lenovo d20 with two x5560 cpus and six 4gb hynix ddr2 pc3-10600 type of memory: hmt351r7bfr8c-h9
    My problem i like to install new os but i install three 4gb modul for one cpu the os setup is stop and i get black screen. If i use only 8gb memory (two modul) the os setup is start perfect. How to solve this problem? Thanks

    Does the problem follow a specific DIMM, or does it follow the pattern of failing anytime you go beyond 8GB total installed memory.  
    Which specific OS are you trying to install?
    Did you follow the correct DIMM fill order?
    I do remember during 20 series development we ran into an issue with a specific Hynix DIMM, but I can't recall which one it was.  That DIMM was removed from our validation plan.

  • Memory usage problem

    Hi Guys!
    I have a GPS Track Viewer software... when i launch it, it uses ~20MB memory.(checked with task manager) when i load my first track, it will use 40MB memory :(.. after the fourth, it will use ~70MB memory. okay, let's say i believe 70MB is really needed (but i dont really think, it's too much i think) now i start to remove the tracks (all) from the program, i made a button for this. in the background it deletes a lot of arrays and objects. i deleted all the tracks and their arrays. what is the task manager? My app is using 90MB(!!!)... i've deleted the arrays and my app using MORE memory..:O I don't understand... okay, 90MB... now i want to add the tracks again... it crashes...
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    Perhaps there is a memory limit (100MB?) in netbeans or in java... what's the problem? how can i see what using so much memory? do i need to use something flush function? debug?
    Thank you so much!

    thank you, this is a useful information, however it does not solve my problem, it just tries to hide(!). if i delete large arrays, the app should use less memory logically. what's the problem? i have no idea at all.

  • 16GB iPhone 4S memory/usage problem

    I have a 16GB iPhone 4S. I used to have thousands of pictures, 3 pages of apps, and around 200 songs. Now I only have 7 apps, 200 photos and 90 songs and my phone says it have no more memory. When I connect my iPhone to iTunes it says my 200 photos are taking up 9.6GB, I know this isn't right. I don't even have enough memory to update to the new iOS 6. Can anyone help tell me what is wrong with my phones memory and any ways to fix it?? Thanks.

    Same exact thing is happening to me do you know what to do yet?

  • Core memory usage problem

    I have a macbook 2010 2.4ghz intel core 2 duo running osx lion. It has been running fairly slow recently and i noticed that out of the 4gb of ram it has 3.3 of that is being used for wired memory. Is this normal? Is my computer too old to run lion? I did also notice a decrease in speed after installing lion.

    No, that isn't normal unless you are booting into safe mode. Try rebooting the computer.

  • High RAM memory usage compared to other systems

    I'm suffering with memory usage problems, only in open 2 tabs of facebook(it's only for example, any 'heavy' page freeze also) in firefox*(for example also, but this occur in chromium also) freeze computer.
    I've 1GB of memory, it isn't big but also isn't very little.
    I'm using XFCE with compiz (yes, compiz, since use a very lightweight openbox-based session doesn't help, then compiz...) when system start (after login) system is consuming 130MB approximately of RAM.
    after 1 hour if close all open apps and see memory usage again consume is something about 350MB, "only solution" is reboot.
    all applications(htop,free -m,xfce's system monitor...) that I've tried to monitor memory usage show above scenario, except the 'ps_mem' script in AUR.
    in the 'ps_mem' script the result is following (with opera browser open, less memory offensive browser but I really prefer firefox):
    Private + Shared = RAM used Program
    88.0 KiB + 10.0 KiB = 98.0 KiB agetty
    380.0 KiB + 34.5 KiB = 414.5 KiB sshd
    408.0 KiB + 93.0 KiB = 501.0 KiB gpg-agent (2)
    372.0 KiB + 142.0 KiB = 514.0 KiB avahi-daemon (2)
    456.0 KiB + 60.0 KiB = 516.0 KiB systemd-logind
    280.0 KiB + 261.0 KiB = 541.0 KiB sh
    476.0 KiB + 103.5 KiB = 579.5 KiB xfconfd
    476.0 KiB + 153.5 KiB = 629.5 KiB gvfsd
    604.0 KiB + 34.5 KiB = 638.5 KiB systemd-udevd
    588.0 KiB + 102.5 KiB = 690.5 KiB dbus-launch (3)
    576.0 KiB + 119.5 KiB = 695.5 KiB sudo
    668.0 KiB + 77.5 KiB = 745.5 KiB cups-browsed
    620.0 KiB + 179.5 KiB = 799.5 KiB at-spi2-registryd
    804.0 KiB + 67.0 KiB = 871.0 KiB htop
    756.0 KiB + 131.0 KiB = 887.0 KiB gconfd-2
    800.0 KiB + 126.0 KiB = 926.0 KiB upowerd
    752.0 KiB + 183.5 KiB = 935.5 KiB xscreensaver
    920.0 KiB + 85.0 KiB = 1.0 MiB cupsd
    876.0 KiB + 241.0 KiB = 1.1 MiB gvfsd-fuse
    692.0 KiB + 429.0 KiB = 1.1 MiB systemd-journald
    880.0 KiB + 273.5 KiB = 1.1 MiB at-spi-bus-launcher
    1.2 MiB + 125.0 KiB = 1.3 MiB udisksd
    1.4 MiB + 486.5 KiB = 1.9 MiB dbus-daemon (5)
    1.4 MiB + 533.5 KiB = 1.9 MiB panel-6-systray
    1.5 MiB + 430.0 KiB = 2.0 MiB lightdm (2)
    1.6 MiB + 572.0 KiB = 2.1 MiB xfce4-session
    1.5 MiB + 683.0 KiB = 2.2 MiB panel-5-datetim
    1.5 MiB + 706.5 KiB = 2.2 MiB panel-2-actions
    1.6 MiB + 723.0 KiB = 2.3 MiB panel-4-systeml
    2.0 MiB + 543.5 KiB = 2.5 MiB xfsettingsd
    2.0 MiB + 579.5 KiB = 2.6 MiB systemd (3)
    2.3 MiB + 815.0 KiB = 3.1 MiB emerald
    2.8 MiB + 578.5 KiB = 3.3 MiB gnome-keyring-daemon (3)
    3.2 MiB + 946.5 KiB = 4.1 MiB zsh (2)
    16.1 MiB + -12144.0 KiB = 4.2 MiB polkitd
    4.1 MiB + 465.0 KiB = 4.6 MiB notify-osd
    4.5 MiB + 1.6 MiB = 6.2 MiB xfce4-panel
    5.1 MiB + 1.2 MiB = 6.3 MiB panel-7-mixer
    7.7 MiB + 1.4 MiB = 9.0 MiB xterm (2)
    12.0 MiB + 636.0 KiB = 12.6 MiB opera:libflashp
    24.3 MiB + -10774.5 KiB = 13.8 MiB Xorg
    18.6 MiB + 1.1 MiB = 19.7 MiB gnome-do (2)
    23.2 MiB + 2.4 MiB = 25.6 MiB compiz
    168.4 MiB + 3.2 MiB = 171.7 MiB opera
    320.1 MiB
    =================================
    as you can see in 'ps_mem' memory usage isn't nothing absurdly it's ok.
    another example, this problem stop me make certain things, for example is impossible browsing in web while programming in eclipse, this is very uncomfortable.
    other thing, this not occur in Windows XP, I can open more than 10 tabs in firefox, and eclipse open, etc...
    any needing information, tell-me!
    firefox*: with memory cache turned off in about:config
    Last edited by hotvic (2013-08-12 17:42:21)

    hotvic, could you please change the title to something more descriptive? 'memory problems' sounds like you have problems e.g. remembering / recalling things, which is not an Arch issue ;P
    kenny3794 wrote:
    I've had some limiting performance with browsers lately (Firefox and Chromium).  I found it had a considerable cache size utilizing lots of fragmented space on my home directory. I cleared the cache and have since set a limit to the cache size of 30 MB for Firefox.  Between multiple users across multiple browser sessions, I had at least 2 GB of cache data on my 10 GB home partition!  So far (1 day), this has been helpful.  Perhaps this could help you also?
    Ken
    OP is talking about RAM, not HDD space.

  • Z87-G45, 80%+ Memory Usage in Task Manager

    hey guys ran into another problem 
    i'm using windows 8.1 it's a fresh install and i'm running into high memory usage problem. I was running at 99% while idling earlier (system was lagging hard) so i system restored to the previous day and everything was fine until now. I see it slowly creeping up. While typing this i'm running at 84% Memory usage which seems absurdly high.
    I'm using 8gb of Gskill Ram so I tried to follow the sticky above, but my BIOS would not let me changed anything under the "Advanced DRAM settings" not sure what that is either?
    Anyone got a quick fix to this problem?

    Just updated my killer network drivers because i saw that sticky about people having problems with it.
    This dropped my RAM down to 18% while typing this at this very moment. I'll let you know if it creeps up again.
    My next question I guess is what is normal memory usage on windows 8.1?

  • Firefox becomes really slow then eventually unresponsive when loading a page with many hires images. Unsual high memory usage up to 2gigs just for firefox. Was never a problem with v3.6.

    When loading a page with many hires images, Firefox becomes really slow and scrolling becomes jumpy then eventually becomes completely unresponsive. Unusual high memory usage of up to 2gigs just for firefox when loading these pages. This was never a problem with v3.6.

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • Having a problem with Excessive "modified" memory usage in Win7 x64, upwards of 3.6GB, any suggestions?

    I have 6GB of ram, a fresh install of Windows 7 x64, and the screenshot shows what happens after leaving my PC on for a couple days. (3782+MB being used by modified memory ATM).
    http://wow.deconstruct.me/images/ExcessiveMemory.jpg
    Any ideas on this?
    Edit:
    Added this after first round of suggestions
    http://wow.deconstruct.me/images/NotSoExcessiveMemory.jpg
    This is uptime of around 2 hours.
    The first image is of uptime of around 3-5 days.

    Matthew,
    The only reason why these pages are kept on the modified list indefinitely is because the system doesn't have any available pagefile space left. If you increase the size of the pagefile the system will write most of these pages to disk and then move them from the modified list to the standby list. Standby pages are considered part of "available memory", because they can be reused for some other purpose if necessary.
    Whether this would "fix" the problem or not depends on what the actual problem is. If it's an unbound memory leak then increasing the size of the pagefile will simply allow the system to run longer before it eventually hits the maximum pagefile size limit, or runs out of disk space. On the other hand, if it's a case of some application allocating a lot of memory and not using it for a long time, then increasing the pagefile might be a perfectly valid solution.
    Allowing the system to manage the size of the pagefile actually works well in most cases. Pagefile fragmentation (at the filesystem level) can only occur when the initially chosen size is not large enough and the system has to extend it at run time. For win7 we have telemetry data that shows that even for systems with 1 GB of RAM, less than 0.1% of all boot sessions end up having to extend the pagefile, and this number is even lower for larger amounts of RAM. If you think you are in that 0.1% and your pagefile might be getting fragmented, you can manually increase its minimum size such that the total system commit charge stays below 80% even if you run all your apps at once (80% is the threshold at which the pagefile is automatically extended). This will make sure the pagefile is created once and then stays at the same size forever, so it can't fragment. The maximum size can either be set to the same value as the minimum, or you can make it larger so that the system is more resilient to memory leaks or unexpectedly high loads.
    By the way, Windows doesn't use pagefiles as "extra memory", it uses them as a backing store for private pages, just like regular files are used as a backing store for EXEs/DLLs and memory mapped files. So if the system really has more than enough RAM (like in your second screenshot, where you have 3.6 GB of free pages) you shouldn't see any reads from the pagefile. You can verify this by going to the Disk tab in the resource monitor and looking for any disk IO from pagefile.sys. On smaller systems that don't have an excess of free pages you may see periodic reads from the pagefile, and this is expected because the total amount of data referenced by the OS/drivers/processes is larger than the total RAM. Forcefully keeping all pagefile-backed pages in memory (which is what disabling the pagefile does) would simply mean some other pages (memory mapped files, DLL code or data etc) would have to be paged out.
    Regarding further troubleshooting steps: If the system runs fine with a larger pagefile (commit charge stabilizes well below 80%, and you no longer see gigabytes of modified pages accumulating in memory) then you don't really need to do anything. If the problem persists, you can check for any processes with an abnormally high commit charge, and also check kernel memory usage in task manager. If it's a kernel leak you can usually narrow it down to a particular driver using poolmon.exe or kernel debugger.

  • I have a huge problem with memory usage.

    I am having two very huge problems with the amount of memory the game I'm working on is using. The first is that the background image for a part of my game takes up ~45mb of memory, but believe it or not, that's not my worst problem. i'm not worried about that right now.
    The really, really big problem does involve that image, though.
    Whn I'm done using the image, I can't get the resources it uses to be freed. As a result, the program uses more and more memory every time you go into that area of the game, because the memory used by tha area is just sitting there.
    I used Jprofiler to figure out exactly what wasn't getting released, because I do everything I know how to make everything be garbage collected, including setting all the references to the image to null after you leave that area of the game, but nothing worked.
    After I leave the area with the huge memory leak and give everything time to garbage collect, the main screen for memory usage shows about 45mb of memory used by 20 or so instances of int[], which is obviously the image.
    However, this obscenely huge int array doesn't show up in the heap snapshot, which according to them means there's no reference to it or the image anywhere in the program.
    Here's my question: If there's no reference anywhere to this int array, then why isn't it being garbage collected?

    Maybe you haven't actually released all references to that data.
    Or if you have one 45mb image, maybe you have a bunch of other huge ones and you're just seeing those.
    Why do you have a 45mb background image, though? Can't you use a standard technique like tiling 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.

Maybe you are looking for