Charting memory problem - caching of instances

Hi
I am using an AreaChart and I have a refresh button that when
clicked refreshes the AreaChart with new data from an XML file.
on each refresh I am pushing a new series to my AreaChart. I
am using a custom series that extends the default series and adds 2
vars to it (very simple).
I am experiencing memory leakage on my refresh.
After profiling the App I noticed that the number of series
instances are incrementing each time and are never decremented -
the Garbage Collection never seems to collect these series items.
I reviewed my code and I cannot see anywhere that the
previous series could be referenced (restricting them from
collection).
after looking deeper into the application profile, I noticed
that a cache is referenced on each series which I believe may be
keeping it from being garbage collected. I also noticed a strange "
instanceCache" assigned to the series again I don't really know
from where and for why... could this be causing my problem.
I am quite sure that it is the incrementing series instances
that are causing the memory increase on each load as it all adds up
and fits with the profile data etc....
what I don't know / understand is why these series are not
being disposed of, and what is keeping them / referring to them -
could it be these mentioned cache issues????
can these references be manually disposed of freeing the
series for collection???
Has anyone else experienced such behavior??? could anyone
point me in the right direction to resolve this issue???
any help / advice is greatly appreciated on this one!
Thanks again,
Jon.

Have you investigated the back references using the Flex
Profiler.
If you are sure that its a leak, can you prepare a small test
case and log a bug at
http://bugs.adobe.com/flex,
please?
Thanks,
Gaurav

Similar Messages

  • Nokia C5-03 Low memory problems ( Other Files )

    Please help. I have a nokia C5-03 the handset is showing phone memory is full. I have checked and uninstalled all unecessay applications. But problem is still there. when i check the phone memory it indicates that i have other files of 42mb installed and using phone memory. however i am unable to check what other files are installed or classfied as other files. Can you please assist me so i can know what these other files consist of or where they are located.

    Hi Thetao,
    I typed a more extensive reaction before, but it got lost when I pressed "post". Therefore I just respond to the main points that you mentioned (and some I found out myself).
    Strange: I can't find the 40 MB Maximum User Storage on the Nokia website anymore (nor the 75 MB). But it sounds very familiar to me. It looks to me as if they removed this from the phone specs, also of other Smartphones by the way.
    Yesterday, I deleted some small apps that I don't use (anymore) such as InternetRadio and I also removed Nokia email. Although the apps were below 2 MB together, this freed up over 7 MB of Phone memory (24 MB free now)! I think there were still some old emails stored in C: which I couldn't delete any other way. This helped me a great deal already but I tried your suggestions as well.
    1. No map data or CITIES folder on C: 2. Switched messages memory to phone (and phone to offline mode) and I did indeed find a forgotten email account with 30 email messages. Not much but I had 24,7 MB free after that. Of course, I put messages memory back to the memorycard. 3. Used the free edition of Y-Browser to manually delete the cache folder. Not much data in that, but 25,1 MB free after that. Nice tool, with which you can reach folders that normally stay hidden! Used YBrowser to search all C: for files over 300 kB. Only 2 files: boot_space.txt in C:\ (500 kB, contains only the X repeatedly as far as I see, but is probably essential for the operating system) and C:\resource\python25\pyton25.zip (1 MB). It looks like an installation package, but I'm not sure if I can delete it. By the way: YBrowser hasn't made a shortcut in one of the menus. Only way that I found to start it was to look for it using the Phone's search function. Is there a way to make this shortcut myself?
    4. Yes I did. No Images folder on C: anymore, nor other big files (see point 3)
    5. I use Bluetooth for file transfer sometimes, mainly for installation files (such as YBrowser.sis, but I did this one via USB-cable). However, no big files are left on C: so I don't think I have this problem.
    6. I tried to delete Nokia Chat yesterday as well (with the other apps), but it won't be uninstalled the normal way as it says "Uninstall cancelled" (not sure about the exact translation since my phone 'speaks' Dutch) Do you know if there's another way to get rid of this 3 MB app that I don't use at all?
    I think I may have found an explanation and a solution for the memory problem while navigating. You mentioned the "memory in use" in the map settings. Above that option there's a slide bar for the % of memory that the navigation can use. Standard is 70%. I always thought this was about storage memory on (in my case) the memorycard. Another topic mentioned that this the working memory (so the RAM) that the navigation may use. Setting it to 70% means there's only 30% left for other apps that run in the background. The other topic states that this is nog enough so the slider should be set to for instance 30% for navigation leaving 70% free for "the phone". From behind my computer, navigation seems much more stable. I'll try this setting in my car soon and let you know how it works.
    Thanks a lot for thinking along with me so far! There's already 25,1 MB of space, which is great since it was only 7 MB last Sunday. And navigation looks more stable. I'd appreciate if you have some more answers to my latest questions, but if not I think my phone will work a lot better already!
    Regards, Paul

  • Memory problem with jdk/jre 1.1.8

    My name is BERGMANN Yannick.
    I'm working for IRM in Li?ge and we developped an application (user interface for an industrial measurement system) in Java (JDK/JRE version : 1.1.8).
    We have a big memory problem with this application :
    - This user interface is running on a WINDOWS NT PC with 128MB.
    - This is the command to lanch our application :
    C:\Program Files\JavaSoft\JRE\1.1\bin\jrew.exe" -ms32m -mx32m -cp "\Program Files\HMI\HMI.zip;\Velocis\Add_On\Jdbc\raima.jar;\Program Files\Swing-1.1.1\swingall.jar" be.irm.hmi.kernel.HMI -t15 -d"Velocis rdstcp" -newdb -mf1m -mr20
    - When our application is running, everything seems to be OK in memory for it. The garbage collector seems to work properly and our application has always at least 5MB free memory (We use the java instruction "Runtime.getRuntime().freeMemory()" to know this).
    - But when we look in the "Windows NT task manager" for the "jrew" application, the memory increases ALWAYS.
    - After 5 days our application is completely frozen and blocked ...???
    - here is a memory map of our Windows NT PC :
         "jre.exe"     "commit total"     "commit limit"     "commit peak"     "physical total"     "physical available"     "physical file cache"     
    Monday     92264     109256     194944     109424     130484     19492     6216     
    Thuesday     106196     123072     194944     123348     130484     6072     5840     
    Wednesday     110836     132288     194944     132416     130484     4408     5140     
    Thursday     108200     144980     194944     145140     130484     4888     5148     
    Friday     109440     158319     194944     161334     130484     4911     4992     
    Monday     111600     209060     228548     209148     130484     5184     3484     
    Have you any idea of what is happening with "jrew" in memory ?
    We have had this problem for six month and we are totaly out of idea.
    If you can give us any idea, we'll appreciate a lot.
    Thanks in advance,
    BERGMANN Yannick
    IRM SA - Software Engineer
    Tel. (32)4/239.90.10
    Tel. (32)4/239.90.74 (direct)
    Fax (32)4/263.40.97
    E-mail [email protected]

    We had a memory problem with a swing applet in our company. The major reason for this was that we added new components in a JTree and removed them later again, and the components we removed were never garbage collected. This was because with these components we added different listeners, and we didn't remove the listeners after we didn't need the components anymore. After we corrected this, the components where garbage collected.
    Perhaps it's a similar problem you have, or I have no idea. Check that you remove actionlisteners, mouselisteners etc from components you want to be garbage collected.
    You could also test your application with OptimizeIt to see what objects you create and how many you get of them over time: http://www.vmgear.com

  • Memory problem with 5330 XpressMusic

    Hi,
    I seem to have a memory problem with my 5330, I have a 1Gb micro disc installed. My son sent me a photo from his phone, when it arrived I got a warning on the scren that 'there is not enough memory to receive messages', I have tried to delete as much as I can, a lot tells me I can't delete it, but I still get the same warning. This warnig shows up each time I switch on the phone. How can I get myself more space? Can I move things from the phone memory to the memory card?
    Gerald
    Message Edited by warmbells on 01-Nov-2009 06:19 PM

    Are you sure you're using a 5330 XpressMusic? Or is it a 5320 XpressMusic? The former is yet to be released, AFAIK.
    Assuming that you are using a 5320, try these steps:
    -> Move all photos, music, videos stored in the phone memory to the memory card. You can use the built-in File Manager to accomplish this.
    -> Delete all files that you would've received via bluetooth, present in your Inbox. You can save them to the mass storage.
    -> Clear the browser cache.
    -> Clear the Sent Items folder.
    -> Make sure you don't have too many messages in your inbox.
    Hope this helps
    Cheers,
    DeepestBlue
    5800 XpressMusic (Rock Stable) | N73 Music Edition (Never Say Die) | 1108 (Old and faithful)
    If you find any post useful, click on the Green "Kudos" Button on the left to say Thank You...

  • ODBC Linux Memory Problem

    Hi,
    I seem to have a big problem with an application I've made.
    The application connects to a Oracle Database, fills the database with arround 1GB of information. Once the database is filled my application launches a series of queries to test performance.
    My problem is when working with Oracle 11 in Linux (Fedora and Oracle Enterprise Linux). Apparently I can't seem to get past the database filling process. The free memory vanishes quite fast, eaten up between my application proces' and Oracle's. Now, I know the problem is not with my application because the same code works perfectly in the following databases:
    Windows:
    - Oracle 10R2
    - Oracle 11g
    - PostgreSQL 8.3
    - MySQL 5.1
    - MySQL 6-alpha
    - SQL Server 2005 Express Edition
    Linux:
    - PostgreSQL 8.3
    - MySQL 5.1
    - MySQL 6-alpha
    My application actually connects to the database and starts executing the inserts successfully. It's just that at some point the memory gets filled up, pretty quickly actually. I've watched the through vmstat. The first one to fall is the free memory, then follows the cache memory. And then it starts filling up swap. When it reaches to 2GB of used swap the behavior differs with the Linux Distribution: Fedora Core 8 crashes horribly, in Oracle Enterprise Linux at some point my application's process goes to "sleep" and I seem to still be able to do other things.
    To connect to the database I use the [OTLv4 library|otl.sourceforge.net]. One might think that my problem is with OTL, but I use the same OTL in all those cases, and unless it's an issue between Oracle in Linux and OTL I don't think it's an OTL issue.
    Can anyone push me in some direction ?
    Thanks.

    Well, you seem to have a memory leak in your application, assuming nothing else is running. Check out the top(1) program; you can get it to sort the displayed processes according to how much %MEM (percent of memory) they are using. First entry is the culprit.
    The best way I've found to locate a memory leak is to run your program using valgrind(1). This tool runs your application in a virtual CPU built in to valgrind(1). It can detect tons of different memory usage issues, from using an un-initialized variable to leaked memory.
    Of course, you may not have a memory problem. Does you program generate huge bursts of I/O or is the I/O more evenly paced? Kernel I/O backlog can consume memory quickly. While your application is running, open two more windows. In one, run the command:
    $ watch -n3 -d cat /proc/meminfo
    and in the other:
    $ watch -n3 -d cat /proc/slabinfo
    Try to figure out what memory usage is steadily increasing; that can tell us if the app is leaking or the I/O channels just can't keep up.
    Hope this gives you some ideas about how to proceed.

  • How to find out CPU and memory usage for an instance?

    Hi DBA Gurus,
    How to find out CPU usage and memory usage for an instance?
    Any information is appreciated!
    Thank you!
    Robert

    you can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
    1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
    2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
    Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
    3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
    total memory used you can calculate adding
    total_agrigate_area+sga
    memory usage on os level you can know by fallowing commands
    vmstat 5 20 depending upon os

  • How to dynamically sort cached CR instance accessed via opendocument

    I am currently accessing cached CR instances via an opendocument call (from XC dashboard) that filters the records on display using &sf in the opendocument call to display only the records that match the criteria selected by a user. These instances are refreshed weekly and accessed hundreds of times throughout each week.
    I have new requirements where the users want the records in the CR instance to be sorted differently depending upon what they have selected. I have been trying to do this with a formula based on the recordselection() and while this works fine if I am refreshing the report, it does not when I am filtering a cached instance because the recordselection() is not being evaluated at the proper time (I suspect). If I evaluate the recordselection() whileprintingrecords then I can get access to the selection filter value but I cannot group on the dependant formula - I get the error "Group specified on a non-recurring field".
    Does anyone have any ideas on how I can accomplish this goal without forcing a refresh on the report (which is not an option based on volume / performance needs)? I am happy to provide more detail if needed.
    Thanks in advance...

    Salah / Ashwin,
    Thank-you both for the suggestion.  I am using CR2008 so bind sort control is available for my usage however it does not solve my problem exactly. I really need to dynamically group and sort on the group...   Here is some more detail for you to consider.
    The CR I am accessing is grouped based on a customer ID.  Each customer ID can have many detail rows (which are suppressed on the report always).  Each detail row contains the band value for each trait which can be analyzed in the parent XC dashboard.  When the CR instance is accessed via the opendocument call from XC, there is a selection filter applied so that only the detail rows that meet the criteria of the selection in XC are included for consideration in what is displayed in CR.  What I have found is that the bind sort control can work within a group, but I need this to supercede the group sorting because otherwise I am just sorting the trait within customer and I could never get the list sorted in such a way that the customer with the largest or smallest value in a trait field is first because the grouping by customer ID always is the primary sort.
    What I wish I could do, was set the group field to be set dynamically based on the recordselection sent from the XC dashboard.  Then, if the request to filter the report came based on the sales trait, it would be grouped by sales number.  If the request came based on customer age, it would be grouped / sorted by customer age.  What I am finding here is that I cannot group by a formula that is evaluates the recordselection whileprintingrecords, yet I need the recordselection to be evaluated at that time in order to accurately pick up the selectionfilter passed in the opendocument call.  Any ideas on this?
    I am also toying with the idea of getting rid of the groups altogether and just displaying detail with identical rows suppressed.  this will be a bit of a comprimise for our users because I don't know how I can show the total number (a sum) of records in the detail section.  If I can get them to agree to that, I think that I can create a formula based on recordselection that I can bind sort control to -- Just tested and found out that I cannot sort on a formula that evaluates recordselection whileprinting records so this may be out the window too...
    Of course, all this would be relatively easy if I could just referesh the report on demand when accessed but that is not a viable option due to a number of reasons.  Any help / suggestions on this are greatly appreciated!!!
    Edited by: Steve Fowler on Nov 2, 2009 4:07 PM

  • A possible solution to FCP X memory problems - it is working for me so far

    I think I may have found a way to prevent FCP from gobbling up all available memory (and bring my mac to its knees).
    The idea came to me from a post by Tony Reidsma  in this thread: https://discussions.apple.com/thread/3770230?start=0&tstart=0
    He pointed to this page regarding memory usage in FCP X and Motion: http://bradbell.tv/filmmaking/improving-ram-performance-in-final-cut-pro-x/
    The above page,mentions a preference setting that exists in Motion but "not in FCP X" - the setting for a "cache percentage".
    This is supposed to determine how much of the available memory Motion should retain for caching content (or so I gather).
    Sure enough, this preference is not there visibly in FCP X, but since FCP X and Motion share a common foundation, I thought it might be there anyway.
    So after looking into the plist files in XCode, I found the name of this preference setting and used the defaults command in Terminal.
    I have been throwing everything at it for a day now and it seems to be working well, so I thought I'd share.
    Here is the relevant defaults command (NOTE: use this in Terminal when FCP X is NOT running):
            defaults write com.apple.FinalCut OZPreferenceManager::CachePercentage -int 20
    (this seems leave free about 20% of the ram available when FCP X starts; I have experimented with different values, and apparently the higher the number, the more free memory is untouched)
    I have 15 applications running in MacBook Pro (with 8GB Ram), for hours, and no memory problems (and no need to "purge"). And FCP X and all other applications have not shown any of the slowdowns typical of low memory situations.
    NOTE: While I have not experienced any negative effects, I have no internal knowledge of the software and no guarantee that this is effective or harmless.
    One can revert the above setting by typing (or pasting) the following in Terminal (again, with FCP X NOT running):
        defaults delete com.apple.FinalCut OZPreferenceManager::CachePercentage
    If any of you try this and it does or does not work for you, I'd appreciate if you post your results back here.

    Hey Luis, and everyone else.
    I just tried your terminal script, and it has completely cured the sluggish problem with FCPX. Thank you, thank you , thank you!!.
    I am working in a pretty large project, and now is flowing like a champ. Even skimmin is on point.
    The project is 60 GB in size and I didnt create optimized media or used Proxy, so is working out of the RAW data, and boy must I say is flowing.
    Again thank you dude.
    PS: to you all out there, if you jump in a large project, I found that by making compund clip over compound clip helps the speed of the whole project. Example: I am braking down scenes in to compound clips, and portions of the scenes in to more compund clips, that has created a fast flow to go in an out of.
    Macbook Pro 13 2009,
    8GB ram / 750GB HDD
    FCPX 10.0.0

  • Memory Problem Bridge CS4 under Win7

    Hi!
    I am running Bridge CS 4 on a brand new multimedia laptop (best ati graphic card, 4 gb ram, hundrets of gb free space) and one and the same bridge that ran well on my old xp laptop is starting to tremble of memory problems and pops up in German "is running out of memory, a restart is recommended". The cache preferences are all ok I think. Where else could I have a look at in order to delete this bug ?!
    Thanks, Sebastian

    Memory can also mean inadequate page file, memory problems, or cache.  Also, since it is a new computer don't rule out defective RAM.

  • I have Yosemite 16 gig mem and still have memory problems.

    I have the new activity monitor which has that green line every one is talking about. I used to have only 4 gig and my computer was very slow then i upgraded to 16 gig and at the beginning it ripped.  I started using Firefox on a site that had a lot of large JPEGs. after some time things started to slow down again, when i would try to save a JPEG it would take longer to see the line on " save image as " , after a while it got pretty slow not s bad as before but a lot slower than when i booted up.  
    My memory checks out fine HOWEVER . when i looked at the activity monitor the cache size just kept getting higher  at one point at 9 gig. this cache size was slowly growing the longer i was on line. The larger it grew the slower things worked.
    I understand i am supposed to just look at the memory pressure and yes it stayed green the entire time. but the slow down did happen at the same time the cache size grew.
    I also have a windows 8.1 computer only 6 gigs. and no mater how long i stay on the internet and i can open 15 tabs i never experience a slow down. 
    I would think with 16 gig and an i7 i would have some speed. I wish there was a way to limit the cache.
    I use the Mac most of the time and i wish they would fix the memory problem.
    What can i do ?

    I use the Mac most of the time and i wish they would fix the memory problem.
    It's not a problem. It's working as designed. Memory management has been changed to take full advantage of increased RAM. It, by design, takes advantage of RAM reserves by holding things in RAM instead of constantly moving things in and out.
    What can i do ?
    Chill out.

  • 875P NEO-FIS2R no boot with memory problems

    I just got a NEO FIS2R board, a P4 2.6C, and two 512MB sticks of OCZ PC3200 Premier DDR.  I installed the board and connected only my hard drive, video card (GeForce4 Ti4200), both sticks of memory, and CPU (on a 300W PSU).  At first, the board would eventually make it to the "booting OS" stage, after spending a little time on "initializing video" (normal) and "assigning ISA" or something like that (don't know what that is, since the board has no ISA slot).  Unfortunately, although my monitor's light changed from yellow to green, meaning it was getting a signal, the screen remained blank.  I gave it a few minutes and finally turned off the computer.  After reseating the video card and memory and disconnecting the hard drive, the same problem occurred.  Finally, I took out one of the sticks.  After this, the computer hung on that ISA thing for about ten seconds, and then went back to "detecting memory" and gave a 2-1 error beep.  I switched between the two OCZ sticks and also two sticks slow generic PC2100 memory that I had in my old computer and I know work fine.  Eventually the computer stopped pausing at the ISA stage and went to the memory detection after only a second or so.  Since the video was obviously acting strange, I disconnected the video card so the computer contained only CPU and memory.  The bootup sequence was the same, except that in place of the single beep during video intialization, it gave me a 2-8 error code.  Finally, I took the board out of my case and laid it flat on the wooden table and tried again.  Still no boot.  I also cleared CMOS several times throughout this procedure, so that shouldn't be the problem.
    Can anyone figure out what's going on here?  It's especially confusing to me that the computer booted all the way (sans video) at first, then started having memory problems, and that the system passes the initial memory test but then goes back to it after that ISA thing (this is all according to the D-Bracket).

    Quote
    On the compatability list, it says
    "Kingston KVR400X64C25/512
    W942508BH-5 (Winbond)"
    Since the memory I am looking at is CL2, does that mean it might not be compatible after all?
    If you're wondering whether the Kingston HyperX RAM you're looking at is the same as the Kingston RAM you've found on the compatibililty list, the answer is NO.  The RAM from the list that you're referring to has a model number that starts with "KVR", which stands for "Kingston Value RAM".  HyperX RAM has model numbers that start with the letters "KHX".
    You might also note that there is no listing for any of the HyperX stuff on that compatibility chart.  However, I have seen posts from several people on this forum who seem to be using HyperX RAM with no problem.  I suspect that MSI hasn't updated that list in awhile, because there are no listings for many of the newer PC 3500, 3700, and 4000 RAM models.
    I personally went 512mb (2x256) of OCZ PC3200EL DDR RAM, it is listed as 'OCZ (PN- OCZ400256EL ) PN- OCZ400256EL' on the compatibility chart.  I had plenty of problems trying to run a set of Corsair TwinX 3200PCT ver. 1.2 on my 875P NEO board, and I settled them by switching over to the OCZ RAM only because it was listed.  While it wasn't my first choice I'm pretty happy with it because so far it's been running stable at CAS 2,2,3,6, with the voltage at 2.65.

  • Business Edition and memory problems on Windows 7

    Does anyone have problems when loading the directories to memory for faster processing?  I have a Windows 7 64-bit machine with 8gig of ram.  Even after a restart I have problems with this.  I get an error code of "7050, DPV ERROR, Insufficient memory to cache DPV directories."

    Jeff,
    We have been able to recreate the issue but the funny thing is, not on every Windows 7 machine.  We also found that if you run the program as admin, even if you are already the admin on the machine that resolves the caching issue.  To do this you can right click on the icon for the software, left click on properties, click on the compatibility tab, then check always run as administrator.  Click ok, then open the program.
    We also found that you can run in XP compatibility mode and that also corrects the caching issue however I would recommend running as admin because that can also resolve issues with the Auto Update feature.
    Just from poking around on the internet about the running as admin feature, it appears this is pretty common with Windows 7 and 32 bit programs.  Our development team is still researching to see if it is a Windows 7 issue or program issue, and why we can recreate it on some machines but not all, and why the difference just between April and May dirs.  
    I'll update the thread if I find out anything more but right now I would try the always run as admin with the May dirs or June dirs once they are released.
    Thanks,
    Kendra

  • Memory Problem with SEt and GET parameter

    hi,
    I m doing exits. I have one exit for importing and another one for changing parameter.
    SET PARAMETER exit code is ....
    *data:v_nba like eban-bsart,
           v_nbc like eban-bsart,
           v_nbo like eban-bsart.
           v_nbc = 'CAPX'.
           v_nbo = 'OPEX'.
           v_nba = 'OVH'.
    if im_data_new-werks is initial.
      if im_data_new-knttp is initial.
        if im_data_new-bsart = 'NBC' or im_data_new-bsart = 'SERC' or im_data_new-bsart = 'SERI'
           or im_data_new-bsart = 'SER' or im_data_new-bsart = 'SERM' or im_data_new-bsart = 'NBI'.
          set parameter id 'ZC1' field v_nbc.
        elseif im_data_new-bsart = 'NBO' or im_data_new-bsart = 'NBM' or im_data_new-bsart = 'SERO'.
          set parameter id 'ZC2' field v_nbo.
        elseif im_data_new-bsart = 'NBA' or im_data_new-bsart = 'SERA'.
          set parameter id 'ZC3' field  v_nba.
        endif.
      endif.
    endif. *
    and GET PARAMETER CODE IS....
      get parameter id 'ZC1' field c_fmderive-fund.
      get parameter id 'ZC2' field c_fmderive-fund.
      get parameter id 'ZC3' field c_fmderive-fund.
    FREE MEMORY ID 'ZC1'.
      FREE MEMORY ID 'ZC2'.
       FREE MEMORY ID 'ZC3'.
    In this code i m facing memory problem.
    It is not refreshing the memory every time.
    So plz give me proper solution.
    Its urgent.
    Thanks
    Ranveer

    Hi,
       I suppose you are trying to store some particular value in memory in one program and then retieve it in another.
    If so try using EXPORT data TO MEMORY ID 'ZC1'. and IMPORT data FROM MEMORY ID 'ZC1'.
    To use SET PARAMETER/GET PARAMETER the specified parameter name should be in table TPARA. Which I don't think is there in your case.
    Sample Code :
    Data declarations for the function codes to be transferred
    DATA : v_first  TYPE syucomm,
           v_second TYPE syucomm.
    CONSTANTS : c_memid TYPE char10 VALUE 'ZCCBPR1'.
    Move the function codes to the program varaibles
      v_first  = gv_bdt_fcode.
      v_second = sy-ucomm.
    Export the function codes to Memory ID
    EXPORT v_first
           v_second TO MEMORY ID c_memid.        "ZCCBPR1  --- Here you are sending the values to memory
    Then retrieve it.
    Retrieve the function codes from the Memory ID
      IMPORT v_first  TO v_fcode_1
             v_second TO v_fcode_2
      FROM MEMORY ID c_memid.                                   "ZCCBPR1
      FREE MEMORY ID c_memid.                                   "ZCCBPR1
    After reading the values from memory ID free them your problem should be solved.
    Thanks
    Barada
    Edited by: Baradakanta Swain on May 27, 2008 10:20 AM

  • Memory Problems with Adobe PDF iFilter for 64-bit

    In preparation to rebuild my Windows Search Index, I installed the Adobe PDF iFilter for 64-bit on my system (Vista Business 64).  When I finally rebuilt the index, I wasn't too surprised by what I saw happen, namely, the SearchFilter.exe process would kick in whenever I wasn't using the system and just eat RAM.  One time I turned it on and it had allocated over 4,000 MB (and my system only has 4,030 MB available) so of course it was forcing all the other processes to hard fault (ie. everything was moving like molasses--for example, it took 20 minutes to put the thing to sleep).  But I just let it do it's work, figuring that perhaps this was to be expected relative to the small library of PDF's that I've accumulated on my computer, ranging from LaTeX generated text files, to containers for hi-res scans.  So, after a day and a half of basically not using my laptop, everything finally calmed down and I enjoyed the benefits of searching the content of my library from the Windows Start menu--for a short while.
    However, to my dismay I've encountered the problem that this freezing of my computer would now occur after everytime I download a new PDF (in this particular case they were Google Books scans) and then left the computer to idle.  Again, the SearchFilter.exe would allocate all of my RAM for itself and just push everything else onto the Virtual RAM, which means the SLOWEST possibly fetching you can get.  I had to uninstall as this was making my computer unusable for 15-30 minutes after each idle. Everything is back in working order without the iFilter, but I would like to know if anyone has reported such problems on x64 systems.  Obviously, I will also report the problem to Microsoft, since the search engine should certainly have the precaution to handle such memory problems.   However, it is a problem that is created by the Adobe PDF iFilter interacting with the Windows Search engine.

    Hello,
    We believe we have figured this out.  It looks like it has to do with the length of the default folder location for the Adobe iFilter.
    I was able to reproduce the issue and the following resolved it for me.  See if this resolves it for you all as well.
    Here is how to get Adobe Version 11 PDF filter to work.
     1 . If you haven’t already, run the following in SQL Server:
    Sp_fulltext_service ‘Load_os_resources’, 1
    Go
    --you might also need to run: 
    sp_fulltext_service ‘Verify_signature’,0  --This is used to validate trusted iFilters. 0 disables it. So use with caution.
    --go
    2. Stop SQL Server.  (Make sure FDHost.exe stops)
    3.  
    Uninstall the Adobe ifilter (because it defaulted to having spaces or the folder name is too long).
    4.  
    Reinstall the Adobe iFilter and when it prompts for where to install it, change it to: C:\Program Files\Adobe\PDFiFilter
    5.  Once the installation finishes, go the computer’s Environment variables. Add the following to the PATH.
    C:\Program Files\Adobe\PDFiFilter\BIN
    NOTE: it must include the BIN folder
    NOTE: If you had the OLD location that included spaces, remove it from the path environment variable.
    6. Start SQL Server
    7.  IF you had an existing Full-text index on PDFs, drop the full-text index and recreate it.
    8. You should now get results when you run sys.dm_fts_index_keywords('db','tblname')  --Note: Change db to be the actual database name and tblname to be the actual table name.
     Give this a try and see if this fixes yours. 
    Sincerely,
    Rob Beene, MSFT

  • Memory problems with PreparedStatements

    Driver: 9.0.1 JDBC Thin
    I am having memory problems using "PreparedStatement" via jdbc.
    After profiling our application, we found that a large number oracle.jdbc.ttc7.TTCItem objects were being created, but not released, even though we were "closing" the ResultSets of a prepared statements.
    Tracing through the application, it appears that most of these TTCItem objects are created when the statement is executed (not when prepared), therefore I would have assumed that they would be released when the ResultSet is close, but this does not seem to be the case.
    We tend to have a large number of PreparedStatement objects in use (over 100, most with closed ResultSets) and find that our application is using huge amounts of memory when compared to using the same code, but closing the PreparedStatement at the same time as closing the ResultSet.
    Has anyone else found similar problems? If so, does anyone have a work-around or know if this is something that Oracle is looking at fixing?
    Thanks
    Bruce Crosgrove

    From your mail, it is not very clear:
    a) whether your session is an HTTPSession or an application defined
    session.
    b) What is meant by saying: JSP/Servlet is growing.
    However, some pointers:
    a) Are there any timeouts associated with session.
    b) Try to profile your code to see what is causing the memory leak.
    c) Are there references to stale data in your application code.
    Marilla Bax wrote:
    hi,
    we have some memory - problems with the WebLogic Application Server
    4.5.1 on Sun Solaris
    In our Customer Projects we are working with EJB's. for each customer
    transaction we create a session to the weblogic application server.
    now there are some urgent problems with the java process on the server.
    for each session there were allocated 200 - 500 kb memory, within a day
    the JSP process on our server is growing for each session and don't
    reallocate the reserved memory for the old session. as a work around we
    now restart the server every night.
    How can we solve this problem ?? Is it a problem with the operating
    system or the application server or the EJB's ?? Do you have problems
    like this before ?
    greetings from germany,

Maybe you are looking for

  • LR2: can't see the images I've edited in Photoshop

    I'm working on a Mac Pro desktop. I'm in the LR2 develop module. I right-click on an image to "edit in CS3". No problem, the image opens up in CS3. I work on the image, then save and close the image. Here's the problem: After saving and closing the i

  • Can't get IPOD to work with CD player in car

    I have an ipod fifth generation Model number A1136 and a Pioneer DEH-21ooIB and i keep getting message number 11 which in the manual says its a communication failure and to disconnect the cable from ipod once ipod main menu is desplayed connect the c

  • Transfering items from one Vendor to another vendor.

    Dears, I am a FI consultant.  Here we have a requirement to close a particular vendor and transfer all the items from this vendor to a new vendor.  We dont want to post further items into that vendor. For this,please advise me on the following: a) wh

  • FCP User Manual viewer

    OK, this seems like it wouldn't be a FCP question, but hopefully someone has the answer: I needed to look something up in the manual, so I went Help --> User Manual and it opened up in Adobe Reader. It used to open up in Preview. Preview has a much f

  • CMS Transport Load Software Component Configuration

    Hi All, We have done the Development SOAP to RFC scenario. We are trying to move the chages to QA system through CMS transport, we did't find the SC in Add SC, for that we have updated the CMS and tried to load SC configuration while doing this we ar