EMac has poor memory management

I use an eMac and a G5. I would expect the G5 to be much faster than the eMac but here's a funny thing: I find that the G5 also manages memory much better than the eMac! For example, when I run OmniWeb for a long time on my eMac and really put it through its paces, loading up multiple pages and tabs, I find that OmniWeb starts running slower. Not surprising, but the rest of the computer starts running slower too! For example, creating a new folder may take several seconds.
Even stranger: after I quit all of my programs, the sluggishness continues. My eMac does not recover until I completely restart. Maybe OmniWeb has a memory leak or something, but this doesn't happen on the G5! I can put OmniWeb through its paces on the G5 and launch twice as many programs, including Photoshop, with no noticeable slowdown.
Now here's the weirdest thing of all: both computers have exactly the same amount of memory (768 MB) and both have plenty of free hard drive space (over 40 GB). All the memory on my eMac is Apple brand. I have even clean-reinstalled the OS on my eMac, to no avail.
Is it normal that memory management would be so much better on a G5 than an eMac?

The improvements in each OS generation in memory management involve swapping tasks in and out of memory more efficiently, not using less memory --- invariablly more memory is actually used (to do more tasks). It would've been clearer had I noted that each OS generation does more with the memory and places more stringent demands on the RAM timing. Memory chips tha were good enough under 10.1 failed when 10.2 came out; ditto with 10.3/10.2 and 10.4/10.3
See what Console and/or Activity Monitor tell you is using CPU cycles.

Similar Messages

  • OSX Poor Memory Management.

    Hi!
    As a former windows user and developer I was happy with its memory management ( Windows 7).
    Now I decided to change, and give Mac a chance... and the only thing I have to say.. Im felling as using the old versions of windows... My machine has 8GB of ram and using it for about 2 days running 1 VM (2 GB of ram) and internet browsing gives me 15MB of free memory and 2.5GB swap file!! The system is slow as ****... Btw page outs is about 25% of page ins.
    What can I do to stop that ?
    Do I have to keep my ( pseudo ) Unix system rebooting? Thats a shame!
    Thanks!

    Now I decided to change, and give Mac a chance... and the only thing I have to say.. Im felling as using the old versions of windows... My machine has 8GB of ram and using it for about 2 days running 1 VM (2 GB of ram)
    Most virtual machines take the amount of memory you give them away from the Mac for the life of the virtual session. So now you are most likely down to 6GB of RAM.
    and internet browsing gives me 15MB of free memory and 2.5GB swap file!! The system is slow as ****...
    Since you do not indicate what kind of applications you are running (besides the 1 VM), it is difficult to guess what is consuming your memory. Some applications demand more memory than others, especially graphic/video related apps where there is a lot of data to process.
    Also having 15MB of free can be considered a good thing, as the Mac is actually using all that memory you paid for. "Inactive" memory is also available to the OS. Its main difference from "Free" memory is that the operating system knows what is in the inactive memory and if the original owner asks for that memory back, the OS can give it to the original owner without requiring an expensive disk I/O.
    Btw page outs is about 25% of page ins.
    Since the operating system will page a program into memory, it is very typical that you will have more pageins than pageouts.
    You can use tools such as
    sar -g 60 100
    to monitor your pageout activity once a minute for 100 minutes and see if you can correlate heavy pageout activity with the use of a specific application.
    You can also use Applications -> Utilities -> Activity Monitor to monitor your programs. If you think you have found a heavy memory consumer, you can select that app, in Activity Monitor, then click on "Inspect", then "Statistics" and that will show you the paging activity.
    You can also use Unix commands such as 'top' and 'ps' (see "man top" and "man ps"), as well as 'vm_stat', 'iostat', etc...
    Another thing. A lot of people have reported slowness when it turned out their disk was getting lots of errors. This is unlikely, but it has been know to happen.

  • ITunes 7 Poor memory management!

    Huge iTunes 7 memory problem.
    Upon initial launch, it will use around 40-50mb of real RAM.
    If I scroll through CoverFlow it will peak at around 1.5 to 1.6gb of real RAM usage! Going back to normal list view will bring it down to 700-800mb..
    I have to quit and re-launch iTunes to get back down to less than 100mb.
    If I try this on a computer with less than 2gb of ram OR I am running any other program, iTunes will start to skip because it ran out of physical ram.
    I have been able to replicate this on multiple machines.
    Very poor QC..

    The coverflow implementation is indeed using a ton of memory. It kind of has to if you think about it. In order to quickly browse through all of your albums, it has to preload all of your album covers, which are of decent resolution. On my MacBook Pro with 2Gb of ram, it flows effortlessly, but on my MacMini (intel) of which I plundered the ram for the MBP (now only 768mb), the coverflow isn't very useful. It quickly runs out of ram, and starts paging in and out. However, it does seem to release it's memory quite quickly, even if I just change the from the coverflow view to the standard view.
    Apple should probably be clear about the memory requirements of this new feature, as a lot of people will just think it's a bug with iTunes.
    Berndt

  • Use JNI application has memory manager, feasible?

    Hi,
    This is an attempt to circumvent javas poor memory management capabilities. Since java is unable to allocate memory dynamically (*) I'm thinking of writing a native library capable of allocating memory and then allowing java applications to stow away data in this area. The application would be able to access the memory directly through some java.nio.ByteArray-type implementation.
    The java application would be responsible for allocating and deallocating, reading and writing data.
    Is this feasible? Has anyone done this already? I guess a JNI is solution would be pretty straightforward?
    (...this will be my first experience with JNI)
    (*) Xmx option can be used assuming you know beforehand the memory requirements.

    Hi,
    This is feasible since JNative already does this.
    See Pointer and MemoryBlockFactory classes to do this.
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                           

  • Problems with memory management

    Since my adoption of 10.7, I have noticed a problem that is really reminiscent of 10.2 and 10.3 of poor memory management. This is quite distressing as it has taken away from the performance of the operating system and has created many pages of VM files that are just below the engineering standards of Apple. Any suggestions along this line to clear this up would be greatly helpful. I have 3 GB of memory that is over utilized and over taxed.

    I have read a bit about the "better" memory management, but that is all in theory. In the real world, Lion eats RAM and i upgraded from 4 to 8 Gb last week, that makes all the difference. If i close all apps now, 5.5 Gb RAM is still used, and i know that has something to do with Lions special workmemory management that is supposed to work to our favour, but it doesnt! Now after upgrading, fairly cheap but nothing for mainstream people, things work the way i suppose they are meant to work, but when Windows 7 and soon 8 are working towards less RAM needed, Apple seems to say one thing and do another. That is, they claim to have a improved (superior, fantastic?) system for RAM, but in reality it eats RAM for breakfast. Now i dont haveto close one app before opening another just to avoid the little spinning ball of colours.
    Also Safari can use gigabytes of RAM on its own....not good.

  • Poor RAM management in Photoshop CS4 - need help!

    I have done numerous hours of research over the years only to give up and come back to this subject later on. I will try again!
    I must ask: is there ANY way to get Photoshop CS4 to automatically flush used RAM after closing image files? I'm tired and annoyed of CS4 eating more and more RAM without freeing anything after an image has been closed. An image shouldn't still eat up memory when it isn't even open anymore. It seems to be terrible RAM management of the program itself and how Adobe has forgotten to write that little snippit of code to clear the RAM after an image has been closed.
    I know this is not because of:
    Cache levels
    Setting too large of a saved history state; purging history cache or any kind of cache still never frees RAM
    A lack of updates; I have been up to date with CS4 very punctually as they were released
    The computer I am on; this poor RAM management has been around since CS2 and it's the same on the last 4 computers I have used
    Does CS5 still do this too?

    Your historically conditioned to believe software apps should swap data a standard way. The way your using the system is probably not the most effective processing for your workflow.
    -  I have hundreds of TIFFS that take 60-120MB each in processing, and 8gb  of RAM. The more total RAM actually usable that I can use the better.  How the heck can using less of what is actually available RAM enhance my  workflow? Standard are standards for a reason. The ink industry for  printing is non-standardized and people waste $3-5 billion+ a year only  increasing on unused ink that is still remaining in their cartridges, because there is no standard way of manufacturing ink, filling cartridges, or monitoring how much ink is actually left in a cartridge. I'd love for more standards in more markets. Unless natively stable, all other programs on my computer work flawlessly with said demonized traditional methods and standards, even in high bandwidth applications a hell of a lot more intensive than  Photoshop CS4 will EVER be. Currently people keep disregarding the fact that in my situation CS DOESNT FREE THE RAM.  CS4 is balloon. Balloon inflate. Never deflate even when emptied. Overflow into other rooms of critical OS space where balloon shouldn't be when it fill the room full. How many analogies must I give? Must I use sign language? Binary?
    You don’t have enough experience with these topics. This is actually a
    true statement. Most companies with systems large and small have to
    think about what it costs to process specific jobs. If one in a thousand
    jobs swap, a decision must be made to know how much it would cost to
    retrofit a very expensive environment to keep that one job swap from
    occurring. Most times it is better to let the swap happen for this
    non-mission critical item than pay $50,000 to upgrade all systems.
    I said NON EMERGENCY SITUATIONS.  Emergencies are once in a while. You're repeating what I said like a parrot, but in different longer sentences with more words telling me I don't get what I'm talkinga bout. You're missing the full picture of what I am actually saying. That 1 in 1000 overflow would be exactly true in my situation with 7GB used, but it's not. Why not? Because the CS4 balloon will not deflate itself or reuse the empty space inside the balloon when it's needed, and the OS isn't given back any of the empty space to work with to know it doesn't need to page anything. In turn CS4 is going to try and scratch too when the OS is telling it that is has no more RAM left when indeed it does, but its hiding it in its own reserve balloon from itself. If a company needed just 700MB more room and either they spend $50k to upgrade to that, or get CS4 to release some space once in awhile, they'd sure as hell bother Adobe or write their own mod to force CS4 to release unused allocated RAM to get it.
    Self inflicted only because I want to push the limit of what is actually usable on my machine, not some 'safe zone' with high tolerance. My system is tuned for a fine line of performance and I know what it can hande. I know what it uses and it does not spike usage for random OS operations. It can handle 7GB to 7.2GB of RAM of freely used RAM to one active program if it needs that big of a workspace to work. If CS4 isn't going to reuse the hollow areas in that balloon, then that's not my fault. My OS can handle the fine tuning, and CS4 is what cannot, obviously, since it can see that much RAM but not use the last %10 correctly.

  • Questions about db_keep_cache_size and Automatic Shared Memory Management

    Hello all,
    I'm coming upon a server that I'm needing to pin a table and some objects in, per the recommendations of an application support call.
    Looking at the database, which is a 5 node RAC cluster (11gr2), I'm looking to see how things are laid out:
    SQL> select name, value, value/1024/1024 value_MB from v$parameter
    2 where name in ('db_cache_size','db_keep_cache_size','db_recycle_cache_size','shared_pool_size','sga_max_size');
    NAME VALUE VALUE_MB
    sga_max_size 1694498816 1616
    shared_pool_size 0 0
    db_cache_size 0 0
    db_keep_cache_size 0 0
    db_recycle_cache_siz 0 0
    e
    Looking at granularity level:
    SQL> select granule_size/value from v$sga_dynamic_components, v$parameter where name = 'db_block_size' and component like 'KEEP%';
    GRANULE_SIZE/VALUE
    2048
    Then....I looked, and I thought this instance was set up with Auto Shared Mem Mgmt....but I see that sga_target size is not set:
    SQL> show parameter sga
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 1616M
    sga_target big integer 0
    So, I'm wondering first of all...would it be a good idea to switch to Automatic Shared Memory Management? If so, is this as simple as altering system set sga_target =...? Again, this is on a RAC system, is there a different way to do this than on a single instance?
    If that isn't the way to go...let me continue with the table size, etc....
    The table I need to pin is:
    SQL> select sum (blocks) from all_tables where table_name = 'MYTABLE' and owner = 'MYOWNER';
    SUM(BLOCKS)
    4858
    And block size is:
    SQL> show parameter block_size
    NAME TYPE VALUE
    db_block_size integer 8192
    So, the space I'll need in memory for pinning this is:
    4858 * 8192 /1024/1024 = 37.95.......which is well below my granularity mark of 2048
    So, would this be as easy as setting db_keep_cache_size = 2048 with an alter system call? Do I need to set db_cache_size first? What do I set that to?
    Thanks in advance for any suggestions and links to info on this.
    cayenne
    Edited by: cayenne on Mar 27, 2013 10:14 AM
    Edited by: cayenne on Mar 27, 2013 10:15 AM

    JohnWatson wrote:
    This is what you need,alter system set db_keep_cache_size=40M;I do not understand the arithmetic you do here,select granule_size/value from v$sga_dynamic_components, v$parameter where name = 'db_block_size' and component like 'KEEP%';it shows you the number of buffers per granule, which I would not think has any meaning.I'd been looking at some different sites studying this, and what I got from that, was that this granularity gave you the minimum you could set the db_keep_cache_size, that if you tried setting it below this value, it would be bumped up to it, and also, that each bump you gave the keep_cache, would be in increments of the granularity number....?
    Thanks,
    cayenne

  • OSX inactive memory management problems

    On my 2010 Macbook Air 11" running OSX 10.8 Mountain Lion, I have run into some major issues with memory management. This problem persists across both my Mac machines and multiple generations of OSX. I have a 2007 2.2 Ghz Core 2 Duo Macbook Pro Running Lion (upgraded from Tiger) with 3 gb 667Mhz DDR2 RAM and my 2010 Air 1.4Ghz Core 2 Duo (Upgraded from Snow Leopard to Mountain Lion) with 2gb 1067mhz DDR3 RAM. On both machines, for some time now, during normal usage; especially web browsing using Chrome and Safari (respectively); the inactive RAM on both machines will grow to consume around 30% of all RAM and force time consuming page outs to the mass storage drives on both machines. The Pro has a slower hard drive and the problem is the worst here, the air has a much faster SSD. I have found myself constantly having a window of Activity Monitor up on at least one of my desktops watching my RAM usage, using terminal to purge ram upwards of 10 times an hour to prevent costly page outs, especially on the Pro. I know Apple claims that inactive RAM is essentially free RAM that is temporarily storing recently used information for ease of access later and that it's supposed to be released as free memory when needed, but this obviously is not happening. Right now on my air my swap file is over 650Mb and I've seen it top 2Gb before. The air is exponentially better than the Pro due to the faster SSD, but I do notice substantial UI lag and a massive drop in fluidity as soon as my meager 2Gb is full and I start paging. The Pro is another story entirely, the entire system will essentially become unusable, having to wait several seconds for mouse clicks to even register. That's why I upgraded the stock 2Gb of RAM it comes with to 3Gb hoping that a 150% increase in RAM would help, but it just prolonged the inevitable. I still end up paging out just as bad across both systems if un checked. Even when I keep a close eye on memory usage and purge often, I still end up paging out because I'm not vigilant enough.
    I have to limit my browsing to less than 5 tabs and keep my number of open programs less than 2 on both machines. My active and wired memory rarely seem to top 70%, meaning the rest gets taken by inactive, which isn't functioning as Apple claims. Even if my conclusions aobut what is happening under the hood are incorrect, something is going terribly wrong. I can't upgrade the RAM on my Air at all, and the RAM on my Pro is capped at 4Gb. I'm holding on upgrading because I don't think the excess hardware will solve this software memory problem. Whatever is happening is causing a serious drop in performance for me (yes I do know I have underpowered machines), but there has to be something I can do to speed performance. I've read about disabling the dynamic page file entirely, which just seems to crash the system when free memory is gone, and I've read about programs that claim to free memory. Those programs seem to work by taking a high priority in the process heigharchy of the OS and then proceeding to eat up large portions of RAM and releasing them as needed in an attempt to replicate the true intentions of inactive RAM, but I've heard of problems with this method as well. Does anyone have a viable solution? Monitoring my RAM usage myself and ensuring I don't end up paging out is costly, time consuming, annoying, and inefficient since I fail to catch the problem before I page if I get particularly busy. There is no other OS I've ever been acquainted with that has this problem, not any flavor of Linux, not even the dreaded windows. I seriously hope Apple can do something to manage this runaway memory problem. I'd like to be able to open more than 3 windows in Safari. I've had to purge 3 seperate times while writing this on my Air, and I now have 678 inactive memory, 741 inactive, 582 wired, and less than 14Mb free out of 2Gb with a growing swap at 680Mb. Each purge becomes less and less effective and the last one I did freed up only about 100Mb and it got eaten up again by inactive in less than 10 seconds. On my Air, the memory hog is Safari right now at 700Mb between the web content and flash player with only Facebook, youtube, and this Apple Supprt tab open. I have NO other applications running in the fore or background other than Activity Monitor and Terminal. On my Pro the memory hog is always kernel task, I use Chrome and Safari both. While the memory used by the browser does not usually take up the most substantial portion of the total used RAM out of any process, the more tabs I open, the more RAM I use. The browser is usually the second heaviest RAM hog to Kernel Task. So it seems that across the two machines there are two lsightly different manifestations of the same problem with the same results: massive performance drops and extremely annoying and costly page outs no matter the reason. I just want this problem to go away. I've used underpowered windows laptops that can open a dozen tabs in a heavier browser like IE or Firefox while using other programs like Word or Excel and more with no memory lag issues. There's no way in **** I could manage to open that many pages in a browser while using Pages and/or Numbers on either of my machines and expect reliable (swap free performance). This is just kind of sad in my opinion. Does anyone have a way to get my OSX machine running smooth so that I can remove the one thing that windows and Linux fan boys get the right to laugh at my Macs for?

    Hi Zephryl,
    I was actually able to get an initial response from Sun on this a few months ago. However, the Sun Swing team has not followed up on a resolution for this pervasive problem, even though they noticed the same problem when running a test applet I had created for them. Apparently, I.E. is not releasing memory from the heap.
    Below is a quote from a Sun rep. on this in an e-mail sent to me on Dec 4, 2002:
    "I suspected the leak is in the native code because the # of handles and GDI objects keep increasing but no obvious Java objects are left behind in the Java heap during page switch."
    So, until Sun and/or Microsoft work out a solution to this, anyone who uses I.E. 6 and applets for their UI seems to be in a lot of trouble.
    As a note, trying to invoke the Garbage Collector does not do anything, but generally a very small amount of memory will be released (like maybe 5-10% of the memory allocated for the applet).
    Cheers!
    Avi Gray
    Global Computer Enterprises

  • Has anyone else managed to speak to a human being in the App Review team

    I have had my app rejected twice on the basis that they think all the functionality can be incorporated in an epub format even though the epub format explicitly can't support what my app does. But every time I try and contact the team, it is only allowed via email (with very long waits for responses) and I just a standard script response, e.g
    "2.21: Apps that are simply a song or movie should be submitted to the iTunes store. Apps that are simply a book should be submitted to the iBookstore".
    Even when I appealed I just got the same script back and I keep being told that I can't talk to a human being.
    Has anyone actually managed to speak to a member of staff in the App Review Team and could you give me some advice as to how I can do this. The process has been dragging on and all I need is a 10-minute discussion with a human being,
    Thanks,
    Dave

    Thanks KT.
    I did get a phone call after a few days and it did end up as a useful conversation.
    I do think though that there should be contact numbers so that developers can actually ring a named individual in the App Review Team. I was really surprised that the Apple switchboard said that they were unable to connect incoming callers to specific teams or members of staff. As a Customer Service experience it seems pretty poor.
    Anyway, the member of staff in the Review Team was helpful and we are making some of the suggested changes and resubmitting the App.
    In terms of ePub functionality, it actually can't do everything the App can do as there is no way within an ePub of changing navigation based on whether you are using an iPhone or iPad. There are a lot of things you can do (in fact you can build an HTML5 app within an ePub if you want) but whether an ePub format is appropriate for all the things you can do is another matter. That is a discussion for another day ...

  • Oracle 9i Automatic PGA Memory Management

    Hello,
    my team and me, we are facing difficulties to change the size of the PGA used by our server processes for HASH JOIN, SORT... operators,
    here you can see the results of "select * from v$pgastat":
    [pgastat dynamic view results|http://pastebin.com/m210314dc]
    We have been increasing consecutively our pga_aggregate_target parameter from 1.7 Gb initially to 4Gb then at the end 6Gb, the value of "Global memory bound" and " aggregate pga auto target" on the link above are still equal to 0.
    I have been reading threads on the forum and documentation see below, I understand how the global memory manager (CKPT) computest the sql memory target and then the global memory bound, as far as I understand I can only "play" on the pga_aggregate_target value in order to increase the size of our PGAs (I exclude to play with hidden parameters).
    - Joze Senegacnik: Advanced Management of working areas in Oracle 9i/10g : http://tonguc.yilmaz.googlepages.com/JozeSenegacnik-PGAMemoryManagementvO.zip
    - Dageville Benoit and Zait Mohamed: SQL memory management in oracle 9i
    Here different information that could be usefull:
    OS: solaris 10 (db running in a non global zone)
    Arch: 64-bit sparcv9 kernel modules
    Physical memory: 32 Gb (being shared between all non global zones)
    Oracle version: 9.2.0.5 32bits
    Values of init parameters and hidden parameters that could be relevant:
    [init parameters|http://pastebin.com/m40340cf4]
    [hidden parameters|http://pastebin.com/m50d74c53]
    Maybe useful queries:
    over work areas views, I use the following script:
    [wa_analysis.sql|http://pastebin.com/d606ebd9b]
    and the result of it:
    [result of script wa_analysis.sql|http://pastebin.com/m5f49a2e5]

    Joze Senegacnik wrote:
    - either your sessions are using a lot of memory for storing variables like pl/sql arrays which is subtracted from automatic management: PGA_AGGREGATE_TARGET - (aggregated persistent area + a part of the run time area of all server processes)
    - you are hitting a bug
    - or maybe something elseI am really happy you come to this conclusion too, they are the same we made with my team and we have submitting to Oracle support via metalink SR 3-1216060641, we were asking if we hit the following bug (in note 1) or we leak about pl/sql or java... or else indeed,
    note 1: PGA_AGGREGATE_TARGET Assigned Memory Is Left Unconsumed When Set High [ID 844542.1]
    Joze Senegacnik wrote:
    I would like to know:
    1.) what were the values for global memory bound and autotarget immediately (or in short time) after the database restart or when you have increased them Just after the restart of the database and just after the change of P_A_T, we query v$pgastat immediately after and the value of global memory bound and auto target were equal to 0 byte,
    2.) If you are able to change value of PGA_AGGREGATE_TARGET (P_A_T) to 10GB what happens with global memory bound and auto traget. They should be positive at least for a short time. As this is a dynamic parameter you can change it for a short time, run queries and set it back.We plan to do this tonight, we have an "heavy" ITIL change management procedures that allow us to make changes approved by change manager and only during night maintenance window on production system, I come back to you tomorrow. But we have been increasing from 1,7Gb to 4Gb to 6Gb, each time I have been querying v$sgastat in the next 2 mins and global memory bound and auto target were equal to 0 byte.
    3.) Have you checked on the OS level how much memory are using server processes - do these numbers come along with what Oracle says. Not during problematic activities, meaning active work areas performing HASH-JOIN, SORT... operators,
    unfortunately it is a production system, even if he performs poorly, we are not allowed to try or retry the poor queries, but if it comes again I'll do it,
    during low activities, here the results paste with the scripts I used:
    [pga processes info in oracle|http://pastebin.com/f2e540062]
    I spooled the result rows of this previous script in /var/tmp/pga_processes.log then I loop over all processes pid and display pmap output anon info like this:
    h5. cat /var/tmp/pga_processes.log | awk -F' ' '{print $5}' | xargs -n 1 -i pmap -x {}| grep -v 'Addres' |egrep 'Kb' 2>&1 > /var/tmp/pga_processes_os.log
    then I merge line by line the two files with unix paste command, here the results:
    [os and oracle pga informations|http://pastebin.com/f4135c8a6]
    4.) How many server processes are running on you system in average/max and are you using just dedicated processes or also shared?in average 250, we are only using dedicated processes,
    5.) At time of low activity is the global memory bound still 0 or becomes > 0. I have been querying every 15 min during more than 24 hours low activities, it still stay to 0,
    5.) Are you experiencing paging/swapping on OS level?No, here orca figures for details:
    [free memory|http://img509.imageshack.us/img509/5897/ohuron1asd2gauge1024xfr.png]
    swap
    [pagein pageout|http://img121.imageshack.us/img121/6946/ohuron1asd2gaugepginper.png]
    [memory usage|http://img19.imageshack.us/img19/2213/ohuron1asd2gaugeppkerne.png]
    6.) Please post the result of: select * from X$QESMMSGA ;during low activities, [results X$QESMMSGA|http://pastebin.com/f61df7093]
    While you will be answering to my questions I'll try to figure out what we can do to properly diagnose the problem. As you are on 9i it is a little bit harder.I am really kind of your help, as we say in my country, "if you need tow arms one day to carry something, call me."
    --Jeremy Baumont                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Memory management of WEB AS 6.20

    Hello,
    has anybody informationen about the memory management of the WEB As 6.20 or the JVM?
    How can I see when a garbage collection takes place? How much memory should be allocated by the server nodes?
    Best regards
    Olaf

    Hi Olaf,
    > has anybody informationen about the memory management
    > of the WEB As 6.20 or the JVM?
    There is an article here on SDN that includes such stuff:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to tune sap j2ee engine 6.20.pdf
    > How can I see when a garbage collection takes place?
    NOT.
    > How much memory should be allocated by the server
    > nodes?
    See the article. Anyway, this is depending on a lot of factors.
    Regards,
    Benny

  • Memory management problem

    hi everyone.
    I m trying to use OpenCV in After Effects. The problem is that OpenCV has its own management of memory.
    The AE memory management is kind of bound to the lock/unlock system for multi thread processing and is kind of difficult to use from openCV...
    So, as long as you dont use multi processing, I thought that using openCV would not be a problem.
    But I was wrong. I got a random error:
    After Effects error: Effects modules should only dispose worlds they have allocated.
    My effect is allocating a lot of opencv layers, and one temporary AE layer. When I dispose the AE temporary layer, I have some errors when the rendering get slow and the user tries to interrupt it. the  "After Effects error: Effects modules should only dispose worlds they have allocated."
    When looking at the layer before disposing it, It s totally corrupted with random values for all the field, but data field is not NULL.
    I did not get any error during the memory allocation of the layer though. Still it gets corrupted at some point.
    I m wondering if it is openCV memory and AE memory that get into conflict or if it s my way of checking if layer has not been correctly allocated that is wrong.
    I dont understand also why it would conflict, since system will allocate the memory on demand, and there is no reason the system would give conflicting memory regions....
    I solved my problem by stopping using the AE temporary layer.
    If anyone experienced and solved this kind of problem, please, let me know.
    Regards

    hey marc,
    I think you are overcomplicating things a little,
    1) add a local variable of type PF_LayerDef (or allocate on heap); no
    need to initialise anything
    2) WorldSuite1()->new_world()
    3) use the layer. use PF_GET_PIXEL_DATA8() to get pixels
    4) WorldSuite1()->dispose_world() (optionally free a heap variable)
    Am 28.07.2011 05:06, schrieb salvati marc:
    I m back to this problem...
    As always, Shachar, it seems you are right. I deactivated OpenCV code, and... still crashing.
    I investigate the problem more in depth and found my mistakes...
    What I was doing was:
    1) allocating my tmp layer
    2) copying source to tmp
    3) processing with opencv
    4) copying back to output
    5) cleaning tmp layer
    I did few mistakes:
    1) I was checking tmpLayer->data == NULL to see if the tmp layer was right or not (in step 5). BUT, I copyed my source to tmp (step 2) even if it was not correctly allocated... I guess that s why when I check NULL before dispose it was not consistent
    2) I did not always set the  tmpLayer->data to NULL before allocation! default value is not NULL. So my check after allocation was not consistent in some case
    So multiple reason of not getting a NULL data although the data where not allocated...
    Like you said,  ill supervised creating/disposing of worlds...
    Anyways, I realized in my algorithm that i did not nid the tmp layer, and I could just use the output layer for that purpose... But i m sure i ll get this problem again in the near future, so I had to investigate that.
    Thanks again for your precious help.
    Regards.
    >

  • Memory management while implementing JNI interfaces.

    The assumption here is that java code calls a C function from a
    shared library in Linux.
    How should memory management be done in the native code called
    from Java using a JNI interface?
    What role does the Garbage Collector play in handling memory that
    was allocated in the native C code?
    If I allocate memory using malloc() in the C program, should I
    explicitly free it? Will the GC take care of it?
    Does anyone have an idea of how memory management be done while
    implementing a JNI interface?
    Thanks,
    Nisahnt

    NishantMungse wrote:
    The assumption here is that java code calls a C function from a
    shared library in Linux.
    How should memory management be done in the native code called
    from Java using a JNI interface?
    C: Alloc something giving a pointer
    C: Return pointer to Java as a long.
    C: As needed methods take a long parameter and cast to correct pointer.
    C: Provide a destroy() method that takes a long, casts to correct pointer and deallocates correctly.
    Java: class keeps long
    Java: As needed JNI methods are passed long
    Java: Provide a destroy() method which passes long to C destroy() method if long is not zero. After call set long to zero.
    Java: Optional: Add a finalizer. It calls destroy()
    Last step is optional if your programming environment is strict AND the usage of the class has a restricted scope.
    The above assumes that you are going to use the memory in a 'normal' way. For instance there allocations are relatively small, and exist for short amounts of time. If that isn't true then you might need to tune the usage in much the same way that you might if you had a Java class that consumed a large amount of memory.
    What role does the Garbage Collector play in handling memory that
    was allocated in the native C code?
    It doesn't.
    At some point it can interfere with the heap though.
    If I allocate memory using malloc() in the C program, should I
    explicitly free it? Will the GC take care of it?
    You must explicitly free it.
    Does anyone have an idea of how memory management be done while
    implementing a JNI interface?See above.

  • Memory management count

    Hello all,
    I have a general inquiry on keeping the memory count in regards to memory management. Suppose my set routine is this (which I believe is the general set routine, save for checking that the new input does not equal the current value):
    -(void)setVariable:(id)newValue{
    [[variable release]];
    [[newValue retain]];
    Variable = newValue;
    1. Assuming 'newValue' has not been retained or allocated elsewhere, it's count here is 1. Is that right?
    2. Is the count of 'variable' also 1? We didn't actually retain 'variable'. But what it's pointing to is retained. I am unsure how the count is kept. Who get's the extra 1? 'variable' or 'newValue'?
    Message was edited by: rpstro02
    Message was edited by: rpstro02

    Keep in mind that the variables you're dealing with here are pointers to objects. And that it's the actual objects that have a retainCount, not the pointers.
    So when you do:
    [newValue retain];
    ... it's whatever object newValue is pointing to that gets an incremented retainCount... not the newValue pointer itself.
    Then when you do:
    variable = newValue;
    ... now you've just made your "variable" pointer point to the _same object_ that newValue is pointing to. There's only one retainCount involved. So there is not an "extra 1" if I'm understanding that part of your question correctly.
    Steve

  • Has anyone successfully managed to get VZW to raplace Fascinate with a different phone?

    Has anyone successfully managed to get VZW to raplace Fascinate with a different phone?
    If so, could you share with me on how you convinced VZW to do it?(which department?)
    I love my Fascinate, but not when it can't get calls.  I would prefer to have a Fascinate with
    zero problems, but that appears unlikely.   So I guess my best option is to get a different
    phone(Samsung, Motorola, or others)
    Thanks!

    I successfully got a swap out of my Fascinate with a Droid Incredible 2. 
    I private messaged VZW agents on these forums the following message and through the course of 3-5 days I successfully was granted an expception and allowed to swap out my device (with no contract extension or upgrade eligiblity extenstion). This was after several phone calls and numberous wasted hours trying to convince them the Fascinate was not a good phone. 
    If I have been rude in any way during this message, I sincerely apologize, I did not mean it. I am a frsutrated owner of a bad piece of electronics. I am aware it is not VZW's fault, but I think you need to stand beind the phones you sell and rectify situations that are bad. 
    I am a Samsung Fascinate owner and to say the least this phone has been the biggest source of frustration I have ever had to endur in the 20+ years I have owned a cellular phone. 
    The have been number rous issues with my original phone and the replacement (certified replacement) phone I have gotten. These issues include, but are not limited to:
    1. glitchy UI
    2. constant forecloses and freezes
    3 auto reboots 
    4. inoperable phone for 20 - 30 minutes at a time. Can't access apps, can't make calls, can't send texts, phone is useless to me.
    5. not receiving calls/texts
    6. missing voicemails
    7. increased battery drain
    8. random flickering of screen lights while using the phone.
    Now I have performed the following steps at the suggestion of VZW tech support on both my orginal phone an replacement phone
    1. Hard resets, factory resets 
    2. Soft resets,
    3. Clear cache on the phone
    4. Removing apps 
    5. Updating roaming capabilities 
    After all these issues and all the suggestion on fixes, the phone still performs poorly and is not a reliable phone at all. Like I stated previously i am beyond frustrated. 
    I am aware these problems are software issues not a hardware issue; a refurbed Fascinate will not correct them. Hard resets do not fix the problems. I have scoured the message boards on this website (VZW forums) and I am aware the VERIZON is aware of all these issues with multiple Fascinate users.
    I am asking to be allowed to swap my Fascinate for another, DIFFERENT model of phone. I am fine if that is a refurb, as long as it is a DIFFERENT model of phone and not a Fascinate. I know this is possible because users on your very own forum are stating it has been done. I am asking it be done in my case
    Best thing I can say is stick to it....sitck to you guns and don't back down and don't be allowed to think there is afix when there is not. 

Maybe you are looking for

  • Passing the values to Hyperlink

    Hi, My requirement is I want to pass two values to hyperlink from a table. My table looks like            <b>  Column 1; Column 2</b> Row 1     Value1 ;  Value 2 Row 2     Value 3; Value 4. I want that If someone clicks on value1..... the Row1 and Co

  • Big Increase in mthly bill - VZW changes terms to collect usage fees in advance

    My bill spiked.   Looking at invoice, I noticed VZW now wants to bill me in ADVANCE. I did not agree to this when I signed the contract.   Is this legal ?    

  • A command to run a script function in 2004s

    Hi guys I would like to run a piece of script before first load of a WAD template. I know that in the properties of the template there is an option to run action before first display. The thing is that I would like to run script and not a command. Is

  • Lion fresh install assistance

    Hello fellow Apple folk, I have a Macbook Pro 15" 2.4ghz Intel Core 2 Duo, 4GB RAM. Running OSX 10.7.5 It's a Late 2008 model. My question is. I've just bought a brand new Macbook Pro and I've used Time Machine to set it all up and transfer the data

  • Cannot properly eject iPod

    Whenever I connect my iPod to update it with new songs it appears that evertying works fine while the iPod is updating. Once the iPod is done updating I see the message in iTunes reading, "iPod finished updating" or something like that, except now th