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,

Similar Messages

  • 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...

  • Memory problem with ITS

    Hello friends,
    we are having memory problem with integrated ITS.. on one application server all memory of ITS is getting exhausted. We think few users take lots of memory and it never gets released.
    I checked Note 742048 - Integrated ITS, memory requirement in application server but parameters looks ok. Sometime, when i kill a user session in SM04, some part of memory was released. However i am not able to find which sessions are taking max memory as i do not see any workproess active in SM50.
    in SITSPMON :
    Memory Consumption: Overview
    Sessions:     27      24,710,431 Bytes       915,201 Bytes/Session       2,433,8
    Templates:            14,793,306 Bytes
        Sess. & Templ.    39,503,737 Bytes     Currently available to ITS: 81.92MB o
    ITS Session     memory type     Peak          Memory     Total     Current
    USER 001 2463     Session Memory     1,955,757     938,597     7,574     723
    USER 001 2503     Session Memory     2,008,621     965,245     9,181     930
    USER 001 2523     Session Memory     2,412,477     856,925     11,327     82
    thanks
    ashish

    and what is 2463 is line : USER(user ID) 001(Client) 2463(??) Session Memory 1,955,757 938,597 7,574 723 as this is not a work process ID.]
    Basically i am trying to correlate ITS session with SM04 Session of user.

  • Memory problem with my Nokia 3220

    Hi,I am new here and I have a memory problem with my Nokia 3220.I deleted all of my stuff in galery exept the BlueSquare theme and Nokia Tune but it says that i only have 483kb free memory and galery has 1,7mb memory taken. What should i do ?...I hope you understood my problem and i hope you can help me!
    Shibuy
    Thank You!!

    I have the same problem recently. I bought my nokia 3220, 3 years ago and all was ok but now I download some free themes from a web site and suddenly I realized that my cellphone has less memory. In the phone options says that I have 2,2 MB in my Gallery when actually I have only 800 KB in my Gallery. I don't know what happen!! Maybe it's a virus or what is the solution?? Can I  restart the cellphone ?

  • Memory Problem With 4gb Crucial Ballistix and Asus M4A785TD-V EVO

    motherBoard: ASUS M4A785TD-V EVO
    bios Version :2005
    Video: amd hd5750
    Processor: AMD PHENON II X2 550 3.100MHZ
    Memory: Crucial
    Modele Memory: blt4g3d1608dt1tx0
    Capacity: 4GB
    greetings to all
    i have asus m4a785td-v evo mobo. i ve bought 4 gb crucial ballistix ram today. it says on product its 1600 mhz and cl8 but it shows on my pc 1333 mhz and cl9.  when i was searching for this problem i came across this topic: http://forum.crucial.com/t5/Crucial-Ballistix-gaming-memory/Memory-Probleme-With-8GO-Crucial-Ballistix-and-Asus-M4A785TD-V/td-p/9464 can i apply the same settings? how can i fix that?  is it possible via bios settings? thx in advance and sry for my bad english. here is some screenshots: 

    I am not good at RAM setting but the 'Timings Table' shows there is XMP-1600 profile available so I believe it would be enough to turn on that memory profile in BIOS.

  • For everyone having memory problems with this board

    I have been working on my memory problems with this board. Memtest failed every pass yet memory was fine and board was fine. Was using Kingstone Value Ram
    Set bios version back to 1.7
    set preformance to fast
    set memory to
    2.5
    4
    4
    8
    Set voltage to 2.7 if that does not work go to 2.75
    now working great no more blue screens or os getting corupt it seems to run like a charm
    Thanks to the people who have posted sefull iformation even know you have to dig deep to find it.

    i was having mem problems with this board. But i set up bios v2.2 - ram voltage 2.75 - performance mode: slow and ram timing by SPD.
    Seems to work great for me but my video card is messed up so my comp dies every ones in a while.  

  • 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 my a215?

    Hi, for more than a year  i bought (unfortunately) an a215-4817, and since that day i am having anything else but problems. Now i am having problems with the memory i think. At first my laptop freezed, keyboard was not responding or came out those famous blue screens. In all cases i must shutdown the computer pressing down the power button for a few secs, after that when i tried to start it again didnt do anything, i could only hear the fan working, some disk reading noise but the screen was off and never went on and show me at least the toshiba logo.  The only way i had to fix this was first taking the battery out and pressing the power button for more than 10 secs. Later, i had to take both memory modules out besides the battery. At that moment i came to the windows event viewer and see some "WHEA-logger" warnings that talk about "TLB erros", "bus or interconection error" and ''Hierarchy memory error". Today the only way i can boot up my computer is using only one memory module placed on the first slot. That is the reason i am using it with only 1GB. I am really lost with this, run a lot memory tests ( microsoft Vista has one and Memtest+86 that comes in Ubuntu CD) and any of them trow me some error. 
    Might have broken the memory controller of slot 2?or maybe something with the dual channel controller? can be a problem with the bios? i have version 2.0, never gave me problem but could it be corrupt? I have tried to reinstall it but the installer hasnt the option to reinstall, where can i download the old version and install it again so i can reinstall de versiin 2.0?. And my last question is if somebody knows where to toshiba should i write to tell them how mad i am with them, this laptop was the worst thing i have ever bought, and their customer service in latin america (i am from argentina) is terrible.
    So if somebody have any idea of what the problem could be, i will be grateful. Sorry about my english.
    Thanks, and greetings from argentina! 
    Solved!
    Go to Solution.

    YOUR SPECS:AMD Turion™ 64 X2 Dual-Core Mobile Technology TL58• AMD M690VMemory4  • Configured with 2048MB DDR2 SDRAM 
    You have a really good unit mobo wise to utilize.  With those initial problems you should have taken it to an authorized service provider and have unit checked out. Be that as it may-why you took out the memory modules is beyond me, and yes it is feasible that damage to the board housing or module may have occurred.  Look at the module(s) and see if you observe cracks in the gold thread or board crack, especially where the split notch is. Suggest that you recheck the seating of the memory module until you hear a click noise. Check within the housing area for a small sinle cable and ensure if there it is connected.
     WHEA-Logger situation..... response is as follows.
    A corrected hardware error occurred.
    Error Source: Corrected Machine Check
    Error Type: Memory Hierarchy Error
    TLB = translation lookaside buffer, part of the MMU used to perform virtual mapping).  Machine check errors are hardware errors - this error is telling you that the CPU detected a hardware error but was able to correct it.  This is not a good sign - check temperatures and voltages.   Disabling windows reporting of machine check errors will simply ignore the problem - it will still exist! (and its highly likely that if you are getting correctable errors you are also getting uncorrectable errors sometimes).
    Too resolve: Locate the Recovery disc and reset to factory specs, with a backup of all items you wish to save before attempting.

  • Memory problem with JTextFields

    Hello,
    I have a wierd problem with JTextField and the memory.
    I need to fill a JPanel with different Components (including JTextFields), then do some calculation, remove the Components and filling the JPanel again.
    When i so this too often my i get an OutOfMemory Exception. I narrowed to problem down and wrote a small sample program to demonstrate the problem.
    When i call the method doIT (where the Panel is repeatedly filled) from the main-function everything works fine, but when it is called as a result from the GUI-Button-Event the memory for the JTextFields is not freed (even the call of the Garbage collector changes nothing)
    When i only use JButtons to fill the Panel everything works fine.
    Has anyone an idea why this problem occurs and how i can work around it?
    [Edit] I tested it whith java 1.5.0_06, 1.5.0_11, 1.6.0_02
    Thanks
    Marc
    import java.awt.Frame;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.lang.management.ManagementFactory;
    import java.lang.management.MemoryUsage;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class MemoryTestDLG extends JDialog {
         public MemoryTestDLG(Frame owner) {
              // create Dialog with one Button that calls the testMethod
              super(owner);
              JButton b = new JButton("doIT ...");
              b.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        doIT();
                        setVisible(false);
              getContentPane().add(b);
              pack();
         public void doIT() {
              // Testmethod that fills a JPanel 20 times with Components and clears it
              // again
              JPanel p = new JPanel();
              long memUse1 = 0;
              long memUse2 = 0;
              long memUseTemp = 0;
              for (int count = 0; count < 20; count++) {
                   // Clear the panel
                   p.removeAll();
                   // Get memory usage before the task
                   Runtime.getRuntime().gc();
                   memUse1 = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()
                             .getUsed();
                   // Fill Panel with components
                   for (int i = 0; i < 200; i++) {
                        // The Buttons seem to be released without any problem
                        p.add(new JButton("test" + Math.random()));
                        // JTextFields are not released when used from the dialog.
                        p.add(new JTextField("test " + Math.random()));
                   // get memory usage after the task
                   Runtime.getRuntime().gc();
                   memUseTemp = memUse2;
                   memUse2 = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()
                             .getUsed();
                   // print Memory results
                   System.out.println("Memory Usage: " + f(memUse1) + "   ->"
                             + f(memUse2) + " [ Used:" + f(memUse2 - memUse1)
                             + " ] [ Freed: " + f(memUseTemp - memUse1) + "]");
         public String f(long m) // formats the output
              String s = "" + m;
              while (s.length() < 8)
                   s = " " + s;
              return s;
         public static void main(String[] args) {
              MemoryTestDLG d = new MemoryTestDLG(null);
              System.out
                        .println("------------------ Direct Call (all is OK) -------------------");
              d.doIT(); // Memory is freed with every call to JPanel.removeAll()
              System.out
                        .println("------------ Call from Dialog (memory is not freed) -------------");
              // The Memory keeps blocked
              d.setModal(true);
              d.setVisible(true);
              System.exit(0);
    }Message was edited by:
    marcvomorc

    Thank you for your answer,
    In this sample the programm does not run out of memory. But when you look at the output you see, that in the first run (direct call) the memory ist freed immediately when tha panel is cleared but in the second run (from the Button) the memory usage is getting bigger and bigger. Wenn you change the number of components to 2000 (4000)
    // Fill Panel with components
            for (int i = 0; i < 2000; i++) {
                // The Buttons seem to be released without any problem
    //... ...and use the default memory settings (69mb heap) the programm runns out of memory.
    I get the following output:
    ------------------ Direct Call (all is OK) -------------------
    Memory Usage:   445504   -> 8121016 [ Used: 7675512 ] [ Freed:  -445504]
    Memory Usage:   617352   -> 8114336 [ Used: 7496984 ] [ Freed:  7503664]
    Memory Usage:   810488   -> 8491768 [ Used: 7681280 ] [ Freed:  7303848]
    Memory Usage:   943704   -> 8114976 [ Used: 7171272 ] [ Freed:  7548064]
    Memory Usage:   836760   -> 8505072 [ Used: 7668312 ] [ Freed:  7278216]
    Memory Usage:   978352   -> 8114784 [ Used: 7136432 ] [ Freed:  7526720]
    Memory Usage:   835552   -> 8498288 [ Used: 7662736 ] [ Freed:  7279232]
    Memory Usage:   977096   -> 8114312 [ Used: 7137216 ] [ Freed:  7521192]
    Memory Usage:   835640   -> 8498376 [ Used: 7662736 ] [ Freed:  7278672]
    Memory Usage:   977296   -> 8115000 [ Used: 7137704 ] [ Freed:  7521080]
    Memory Usage:   835392   -> 8504872 [ Used: 7669480 ] [ Freed:  7279608]
    Memory Usage:   976968   -> 8115192 [ Used: 7138224 ] [ Freed:  7527904]
    Memory Usage:   836224   -> 8501624 [ Used: 7665400 ] [ Freed:  7278968]
    Memory Usage:   977840   -> 8115120 [ Used: 7137280 ] [ Freed:  7523784]
    Memory Usage:   835664   -> 8498256 [ Used: 7662592 ] [ Freed:  7279456]
    Memory Usage:   976856   -> 8114384 [ Used: 7137528 ] [ Freed:  7521400]
    Memory Usage:   835784   -> 8502848 [ Used: 7667064 ] [ Freed:  7278600]
    Memory Usage:   977360   -> 8114592 [ Used: 7137232 ] [ Freed:  7525488]
    Memory Usage:   835496   -> 8502720 [ Used: 7667224 ] [ Freed:  7279096]
    Memory Usage:   976440   -> 8115128 [ Used: 7138688 ] [ Freed:  7526280]
    ------------ Call from Dialog (memory is not freed) -------------
    Memory Usage:   866504   -> 8784320 [ Used: 7917816 ] [ Freed:  -866504]
    Memory Usage:  7480760   ->14631152 [ Used: 7150392 ] [ Freed:  1303560]
    Memory Usage: 14245264   ->22127104 [ Used: 7881840 ] [ Freed:   385888]
    Memory Usage: 19302896   ->27190744 [ Used: 7887848 ] [ Freed:  2824208]
    Memory Usage: 27190744   ->35073944 [ Used: 7883200 ] [ Freed:        0]
    Memory Usage: 31856624   ->39740176 [ Used: 7883552 ] [ Freed:  3217320]
    Memory Usage: 39740176   ->47623040 [ Used: 7882864 ] [ Freed:        0]
    Memory Usage: 44410480   ->52293864 [ Used: 7883384 ] [ Freed:  3212560]
    Memory Usage: 52293864   ->58569304 [ Used: 6275440 ] [ Freed:        0]
    Memory Usage: 58569304   ->64846400 [ Used: 6277096 ] [ Freed:        0]
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap spacewhen I outcomment the adding of the JButtons the amount of freed memory is 0 in the second run. So my guess is, that there is a problem with freeing the memory for the JTextFields.
    Memory Usage:   447832   -> 6509960 [ Used: 6062128 ] [ Freed:  6332768]
    Memory Usage:   722776   -> 6785632 [ Used: 6062856 ] [ Freed:  5787184]
    ------------ Call from Dialog (memory is not freed) -------------
    Memory Usage:   468880   -> 6770240 [ Used: 6301360 ] [ Freed:  -468880]
    Memory Usage:  6770240   ->13016264 [ Used: 6246024 ] [ Freed:        0]
    Memory Usage: 13016264   ->19297080 [ Used: 6280816 ] [ Freed:        0]
    Memory Usage: 19297080   ->25570152 [ Used: 6273072 ] [ Freed:        0]
    Memory Usage: 25570152   ->31849160 [ Used: 6279008 ] [ Freed:        0]
    Memory Usage: 31849160   ->38124368 [ Used: 6275208 ] [ Freed:        0]
    Memory Usage: 38124368   ->44402072 [ Used: 6277704 ] [ Freed:        0]
    Memory Usage: 44402072   ->50677928 [ Used: 6275856 ] [ Freed:        0]
    Memory Usage: 50677928   ->56955880 [ Used: 6277952 ] [ Freed:        0]
    Memory Usage: 56955880   ->63232152 [ Used: 6276272 ] [ Freed:        0]
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap spaceAdditionally the JPanel I am using is not displayed on the screen. It stays invisible the whole time, but i cannot work around that, because the calculation is depending on the values being in components on the JPanel)
    Marc

  • Memory problem with loading a csv file and displaying 2 xy graphs

    Hi there, i'm having some memory issues with this little program.
    What i'm trying to do is reading a .csv file of 215 mb (6 million lines more or less), extracting the x-y values as 1d array and displaying them in 2 xy graphs (vi attacked).
    I've noticed that this process eats from 1.6 to 2 gb of ram and the 2 x-y graphs, as soon as they are loaded (2 minutes more or less) are really realy slow to move with the scrollbar.
    My question is: Is there a way for use less memory resources and make the graphs move smoother ?
    Thanks in advance,
    Ierman Gert
    Attachments:
    read from file test.vi ‏106 KB

    Hi lerman,
    how many datapoints do you need to handle? How many do you display on the graphs?
    Some notes:
    - Each graph has its own data buffer. So all data wired to the graph will be buffered again in memory. When wiring a (big) 1d array to the graph a copy will be made in memory. And you mentioned 2 graphs...
    - load the array in parts: read a number of lines, parse them to arrays as before (maybe using "spreadsheet string to array"?), finally append the parts to build the big array (may lead to memory problems too).
    - avoid datacopies when handling big arrays. You can show buffer creation using menu->tools->advanced->show buffer allocation
    - use SGL instead of DBL when possible...
    Message Edited by GerdW on 05-12-2009 10:02 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • P35 Neo-FI memory problem with 4 ram sticks

    Hi,
    I have a problem to get my 4 ram sticks to work. a1 and a2 works but soon as i put another ram in to motherboard example to b1 or b2 it wont post anything on the screen. I know that my 4 rams works ok and i dont have any problem with them. I have also tryied to turn up the dimm voltage but with out luck. Please help me!
    CPU = Intel Core 2 Quad Q6600 2.4GHz (bios 1.3)
    Motherboard = MSI P35 NEO-FI, P35, Socket-775, DDR2,
    Memory= 4 * Corsair Value S. PC5300 DDR2 2048MB, 256Meg x 64, CL5, 667MHz, 240-pin
    Grafic card = Gainward GeForce 8400GS 256MB DDR2, PCI-Express, DVI/Tv-Out, SilentFX

    I'm not sure if the board can directly support 8GB instantly, which may also explain that it can run 4GB without a hitch.

  • Memory Problems with Photoshop CS2 - RAM not being utlized

    I am having memory issues with Photoshop CS2. I have a G5 dual 2.5 with 8 GB of RAM. PS CS2 keeps hanging on me when I'm doing fairly routine tasks with a fairly complex low-res .psd file. It includes several nested layers...etc.
    I noticed while running activity monitor that Photoshop is utilizing a very small percentage of my system's RAM. Approximately 475 MB of the total 8 GB RAM and 1.07 GB of harddrive space for the scratch disk. This seems odd as there is over 6 GB of free RAM while this is happening.
    I've uploaded a screen capture of my activity monitor while Photoshop is hanging. Note that the CPU percentage is above 98%. That's an awful lot of RAM going unused.
    http://www.tramad.com/Memory.png
    Any idea what's going on here? Could it be a corrupt file or font?

    Doesn't completely make sense as I've been using this particular machine for almost two years without any problems working in much more complex and much larger high-res .psd files. I doubt that's what the issue is here. I'm starting to think the file became corrupted...
    Hard to believe that Adobe/Apple haven't issued a fix for the RAM issue yet.
    I also run routine CRON maintenance using Cocktail and have no other issues with any software....

  • Problems with PreparedStatement when select restrict are byte params

    Hi,
    i have a problem trying to select information when the "select" has a byte restrict.
    The table in database is:
    CREATE TABLE `positions` (
    `PKID` int(10) unsigned NOT NULL auto_increment,
    `POSCODE` varbinary(30) NOT NULL,
    `ISWTURN` binary(1) NOT NULL,
    `QTT_GAMES` int(10) unsigned NOT NULL default '1',
    PRIMARY KEY (`PKID`),
    UNIQUE KEY `UNIQ_POS` (`POSCODE`,`ISWTURN`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    And the test code to get the qtt_games is :
    conn = DriverManager.getConnection (url,user,pwd);
    byte bcode[] = poscode.getByteArrayCode();
    // bcode is inserted ok in another preparedstatement...
    String query = "SELECT qtt_games FROM positions "+
    "WHERE poscode=? and iswturn=?";
    PreparedStatement pstmt = conn.prepareStatement(query);
    pstmt.setBytes (1,bcode);
    pstmt.setByte (2,poscode.getIsWhiteTurn()); //it returns a byte
    ResultSet rs = pstmt.executeQuery (query);
    When pstmt.executeQuery is reached, it's thrown the exception:
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=? and iswturn=?' at line 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3170)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3099)
    at com.mysql.jdbc.Statement.execute(Statement.java:695)
    at app.server.bbdd.MYSQLBDManager.getGamesBasicInfo(MYSQLBDManager.java:942)
    at app.server.bbdd.MYSQLBDManager.main(MYSQLBDManager.java:1068)
    Can anybody tell me what's wrong?? I think the query is ok, but don't know what's happening with this...
    Lots of thanks.

    Hi,
    sorry, i know i've post this same message by error in "new to java" thread.... (i'm new in the forum... can i delete the wrong comment??)
    The SQLState is 42000 (syntax error), but it doesn't give me much information because i had already searched in google why can be the cause of it, but there are only a few comments about problems like this, without a solution...
    The column poscode in the table positions contains an array of bytes that codify a position in a chess board. I've to use this in the WHERE clause because i'm developing a chess game consulting project where there are millions of different positions and i've to get the games that have the same position in it's position history.
    The code to insert the positions is:
    query = "INSERT INTO positions VALUES "+
         "(null,?,?,default) "+
         "ON DUPLICATE KEY UPDATE qtt_games=qtt_games+1";
    pstmt = conn.prepareStatement(query,Statement.RETURN_GENERATED_KEYS);
    pstmt.setBytes(1,bcode);
    pstmt.setByte(2,poscode.getIsWhiteTurn());
    pstmt.executeUpdate();
    which works ok and positions can be seen from mysql browser, but i can't select them using the PreparedStatement..
    I have been searching a lot of information about this problem with no results... this is the why i posted this...
    Any help will be useful, thanks.

  • Having screen rendering / memory problems with Microsoft Outlook 2013 and full screen mode with large 2560x1440 dual monitors

    MS Outlook 2013 seems to work fine for a while until a) enough time passes or b) I have multiple MS Outlook windows open. Then I start to see all sorts of graphical issues ranging from certain parts of the outlook window not rendering to certain functions
    locking etc.  Occassionally, when I decrease from full screen I get the screens to render correctly, making me think there's something unique with full screen mode that is causing the issue.   There seems to me to be quite a bit of memory issues
    with this version. 
    I have a beast of a graphics card, 32gb of RAM, and a fast SSD, so don't think its the machine. 
    Thoughts?

    Hi,
    Does this happen to other applications?
    If it's specific to Outlook, consider to check the hardware acceleration option:
    Go to FILE tab -> Options -> Advanced -> Display -> Disable hardware graphics acceleration, turn this option on or off to check the result.
    If the issue persists, please also consider whether any 3rd-party add-ins are interfering with Outlook, we can start Outlook in Safe Mode:
    Press Win + R, type "outlook.exe /safe" in the blank box, press Enter.
    If there's no problem in Safe Mode, disable the suspicious add-ins to verify which caused the problem.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • How do i setup itunes only on external drive with windows

    well i have windows xp running on bootcamp. i have my main library on my internal drive on my os x partition. i want to have music with xp without putting music on my bootcamp partition ( i think my size is 25 or 35 gig). how do i do this on my exter

  • Airport Extremen with Messenger for Mac

    Hi, since I installed my new Airport Extreme, I can't sign in with Messenger for Mac? I tried few things already but I can't get it to work anymore. Is anybody know what to do?

  • What version of frimware is the latest. 4.30.5 or 4.21.1

    From my last upgrade it had this information below. If you go to web site and pick WRT54G Version 4, It show you that version 4.21.1 is the latest. Linksys, A division of Cisco Systems, Inc. Product:                WRT54G Classification:         Firm

  • How to reset java upgrade in dual stack upgrade

    Hi, We are working on dual stack upgrade.Now we are in downtime phase for both the stacks.I have situation to reset upgarde now. I restored DB before downtime phase and jup  for java and upg for abap.I am able to reset abap stack.Could anyone please

  • Oracle bpm and jboss

    hello! i followed the instructions at http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/jboss.htm#BABHIHJD to setup the oracle bpel process manager for jboss. but when i start jboss, i get the following error several times: 2007-10-01 09:0