How to fixe exception out of memory ?

Hello,i did a web application (asp.net/c#/crystal reports),i used more than 35 tableAdapter and when i'm trying report after some time i remark the memory increase more and more until i get Out Put memory Exception. how can i fix this problem ?
please help me

Hi ghilasdz,
Thank you for posting in MSDN forum.
Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
So I’m afraid that it is not the correct forum for this issue.
As you said that the exception out of memory for the crystal reports, I suggest you can post this issue directly to the
SAP Crystal Reports: http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%5bthread%5d
, you will get better support for this issue.
In addition, I find a similar thread about the exception out of memory for the crystal reports on the
SAP Crystal Reports, maybe you will get some useful message.
http://scn.sap.com/thread/1888746
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to fixe exception out put of memory ?

    Hello,i did a web application (asp.net/c#/crystal reports),i used more than 35 tableAdapter and when i'm trying report after some time i remark the memory increase more and more until i get Out Put memory Exception. how can i fix this problem ?
    please help me

    Hi,
    this is the forum for Microsoft Office Visio.
    It seems from your question that you need assistance with Visual Studio.
    The Visual Studio forums are located in MSDN, not here in TechNet.
    Try here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to fix the "out of memory" issue in Fireworks?

    This issue is due to the excess GDI objects usage. If you get this message, as a workaround, close Fireworks after every few hours of work.
    Do the following to see the GDI objects used by a Windows application:
    Open Task Manager and select Process.
    Click View from the tool bar and click Select Columns.
    Select the GDI Objects check box.
    Click OK.

    you cant specify how many characters a td cell can have but u can specify the pixel width of a td cell
    <td width=50>
    as long as you have wrap text on, then text will not force the box size over the 50 pixels
    this wont limit it to only 50 chars though, you will probably have to use some javascript to cut the string down to size (unless youre using something like php or asp then that will do the trick too)

  • How to fix sometimes out of limit problem of SCE8000 and how client can out of its limit

    how to fix sometimes out of limit problem of SCE8000 and how client can out of its limit?
    how to debug this?

    bump

  • How can I solve out of memory error on excell file in PL/SQL

    Hi,
    I'm new on PL/SQL. One of the PL/SQL code which is created excell report got out of Memory error. The first reason of this error, excell file not supported more than 65536 data. So I change the excell file separeted sheets. So that the single sheet size cannot exceed 65536 data.
    All the data are held on system cach and if many user want to take the report the they would get an out of memory error.
    So I want to change the code like that; when out of memory exception raises,
    the old excell file save to disk and new excell file is created,
    and go on to write the new file without exiting the program.
    At the end of the data all the excell file append and show only one file to the user.
    I do know how to save the file and create a new file. But I don't know how can PL/SQL program to turn back to loop again when the exception occurs.
    Is anyone help me on this issue?
    Here is my code
    Thank you
    dworkbook:=hssfworkbook.new;
    dCurrentItem := Get_Block_Property(pCurrentBlock, FIRST_ITEM);     
    while not (name_in('system.last_record')='TRUE') loop
    /* The data would be written to the excell file column order. */
    if (dRow=0) then
              /* Create a new sheet */
    elsif (dRow <= dMaxWorksheetNum) then
         /* Data of the report are written here. The data are written in column order */
    if (dRow > dMaxWorksheetNum) then
         /* give dRow and dColumn intial value */
    /* increase worksheet number */
    end if; /* End of if (dRow=1) */
    if (isWritten) and not name_in('system.last_record')='TRUE'then
         /* if not at the end of the record and the previously read record is written to the file
         , then go to next record */
         next_record;
    end if;
    /* save excell report */
    workbookwriter.save(dworkbook,global.gethome||dFileName);
    web.show_document('/users/'||dFileName,'_BLANK');
    /* when exceptions occurs */
    EXCEPTION
    WHEN ORA_JAVA.EXCEPTION_THROWN THEN
    begin
         javaException := ORA_JAVA.LAST_EXCEPTION;
         -- Print out the Exception by using the toString()
         -- Method of the exception Object
         javaException2 := Exception_.new(javaException);
         mess(27002,Exception_.getMessage(javaException2));
         -- and clean up
         ORA_JAVA.CLEAR_EXCEPTION;
    exception
         WHEN ORA_JAVA.JAVA_ERROR THEN
    -- In this case, the error would be
    -- Argument 1 can not be null
    mess(27002,ORA_JAVA.LAST_ERROR);
    --Clean up
    ORA_JAVA.CLEAR_ERROR;
    end;
    WHEN ORA_JAVA.JAVA_ERROR THEN
    -- In this case, the error would be
    -- Argument 1 can not be null
    message(ORA_JAVA.LAST_ERROR);
    --Clean up
    ORA_JAVA.CLEAR_ERROR;

    No need to double-post... most questions are answered pretty quickly...

  • How to fix: audio out of sync

    I converted a Keynote presentation to Quicktime.  On one slide, there is a video clip (quicktime file).  The video clip runs fine on it own and when inserted into the slide show in Keynote.  The problem is after I convert the whole thing to Quicktime.  The movie plays fine, except the sound on the embedded QT video clip is now out of sync.  Does anyone know why this is happening and how to fix?
    Here's what I've tried:
    - Deleting the the QT video clip from the Keynote presentation and reinserting it, the converting the whole presentation to Quicktime again.  The video clip's audio is still out of sync.
    - Created a new video clip in iMovie, exported as QT file.  And reinserted it into the Keynote presentation, then again converted to QT, but video clip's audio remains out of sync.
    Does anyone know how to fix this? 
    Thanks
    Keynote 6.2.2
    QT 10.3
    Max OS 10.9.5

    I have the same problem. Have not had it before....all of a sudden sound is not in sync, when recording from the camera in the computer. I use imovie 11, 9.0.8 not in sync....why how to fix it?

  • Exception "Out of memory" sometimes..

    Hello!
    I have a web server (a java servlet - vm version 1.4.1_01_b01) that needs about 1024M of memory (i uses the option -Xmx1024M) working with tomcat (3.3.1) over a pentium IV with linux (red hat).
    When the users uses my server the memory that the servlet needs increases until 1024M. When memory is over 1024, java automatically manages it and all works right.
    I have changed my server to a powerful machine (2 intel xeon processor with option siblings, so 4 virtual processors) and linux system (vm is the same and tomcat is version 4.1). But now, when memory is over 1024, a "out of memory exception" is dispatched (i uses -Xmx1024M too) so i have to reset my server everyday!
    Does someone something about a posible bug about this strange thing? will it be something about using 2 processors?
    Thanks in advance!! :)
    Natalia

    Thanks for your response, but i think that it isn't the problem. I'm currently using Tomcat and i have checked that the request to my server are right managed by Tomcat 4: There are several threads in the differents processors. I think i haven't to cluster my servers, Tomcat distributes the request right.
    Am i right?
    Anyway, thanks!
    Any idea else about the problem?
    Thanks in adavance! :)
    Natalia

  • How to cope with Out of Memory Errors

    Hi, I am distributing a desktop application to the general public written in Java 1.4.2. How much memory is required is approximately propertional to how many files they load so Ive tried to pre-emtp OutOfMemoryErrors by checking when memory usage is 95% and preventing the loading of additional files above this level with the following code:
    protected static void checkMemory()
            throws LowMemoryException
            if (Runtime.getRuntime().freeMemory() < Runtime.getRuntime().maxMemory() * 0.05)
                Runtime.getRuntime().gc();
                if (Runtime.getRuntime().freeMemory() < Runtime.getRuntime().maxMemory() * 0.05)
                    MainWindow.logger.severe("Memory low:" + Runtime.getRuntime().freeMemory() / 1024 / 1024 + "MB");
                    throw new LowMemoryException("Running out of memory");
        }but this code is not robust, sometimes users reports LowMemoryException when the user has only loaded a few files.
    I tried removing this code, but then user can get an OutOfMemory error whcih can cause problems with whatever code was running at the time and leave the application in an inconsistent state, if I just exit the application immediately it would be very annoying for users that are int he middle of something.
    I also have adjusted the -Xms and -Xmx settings but cannot decide on a suitable default.
    What I would ideally like the application to do is to extend its heap space as required upto the limits of the users machine, and if it reaches memory limits handle the lack of memory in a releiable manner allowing the user to continue using the application in a safe way

    Unfortunately the metadata is stored displayed within a JTable, so even if If I had in in a Database I think it would all have to be loaded into memory for display within the JTbale in a timely fashion.
    Anyway I think Ive found the problem with the original code, it was reporting memory low when almost all the allocated memory was being used but had'nt accounted for the fact that maxMemory limit had not been reached so more memory could be allocated.
    I think the correct code is:
    protected static void checkMemory()
            throws LowMemoryException
            if (Runtime.getRuntime().totalMemory()  -  Runtime.getRuntime().freeMemory() > Runtime.getRuntime().maxMemory() * 0.95)
                Runtime.getRuntime().gc();
                if (Runtime.getRuntime().totalMemory()  -  Runtime.getRuntime().freeMemory() >  Runtime.getRuntime().maxMemory() * 0.95)
                    MainWindow.logger.severe("Memory low:" + (Runtime.getRuntime().maxMemory()  - (Runtime.getRuntime().totalMemory()  - Runtime.getRuntime().freeMemory() ))/ 1024 / 1024 + "MB");
                    throw new LowMemoryException("Running out of memory");
        }

  • How can I trap Out- of-Memory data with no crash after Crop Tool fails to finish?

    The Photoshop 6 beta program froze while using the crop tool on an image size of 8052x5368. I tried to save a file in another program while waiting for the crop to finish (usually about 1 second) and got an out-of-memory error. I checked the D: driv where the file in the other program was saved. I have a flash C: drive and is not selected in the scratch disk preference. Two scratch disks, E: and G:, are selected with a total of about 800GB free space. After closing PS6Beta, the D: drive recovered about 164GB. The D: drive is not selected in the Scratch Disk list. I work with larger files and anticipate this problem again.How can I trap information for Adobe next time?
    Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:14, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 2664 MHz
    Built-in memory: 16375 MB
    Free memory: 13523 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K

    The problem remains for how the c: and d: drives were not selected in the scratch disk list. I tried again with only E: and G: drives and the file completed after 20 minutes with a 27.7G file. It would have been an ovious problem if the "info" diaglog box included the projected file size and/or dimensional units (px or in) because I use the dialog for verifying the size of the image. I wanted to make a 300 x400px image rather than a 300x400inch image( 90000x120000px).
    Thanks for your quick help.

  • How to detect "almost out of memory" in JRockit?

    I would appreciate any advice on how to build an "almost out of memory" detector to ensure the JVM does not crash when the user mis-configures our application.
    So far I have encountered these problems with JRockit 27.3 (JDK 5.0) in limited testing on windows. This test is just one part of the app, using only 50mb. I've tried 27.4 and it appears to have the same issues.
    1) Runtime.freeMemory returns 0 often, even when lots of memory is still available (28% was returned in the previous call!). If the thread sleeps for 30 millisec a resonable value might be returned. (but still gets 0 fairly often).
    2) There is huge oscillation in the free memory reported even when there is > 15% memory left. The test program allocates some intermediate data (10kb or so), then the more permanent data (500 bytes or so). Successive calls to free memory in the loop can oscillate from 8% left to 17% left.
    3) As memory gets more than 50% used, the GC algorithm switches around several times. I was using -Xgcprio:pausetime with pause time of 600ms. The observation was the GC algorithm switches and some full GC's would take as much as 8 seconds (this test using 100mb of memory) and during this time my polling thread (250ms) does not run. This is a problem since there are a couple of polling threads that expect to run at least once per second.
    4) It appears the basic Java heap usage is quite different with JRockit. The test code can allocate 50k result objects (about 500 bytes each) when run in Sun JVM, but only 33k objects in JRockit. (-Xmx is set to 50M for these tests, the real app runs with 3 to 12GB based on customer hardware)

    Can you post your test code here?
    Thanks,
    /Staffan

  • Exception: Out of memory

    Hi all..
    Iam trying to get an image width * height = (2050 * 1200) into an pixel array.
    when i compile the program i get an runtime error:
    ""Exception in thread "main" java.lang.OutOfMemoryError""
    Iam not understanding where iam doing wrong -- can anyone of you please help me.
    thanx
    mark

    1.2 kB x 2 kB x 4 B per Pixel = almost 10 MB.
    Together with copies (image background, double buffering of GUI, your data) it might give an out-of-memory.
    You can run java with more memory. In the documentation Tools, java, flags:
    java -Xms100m -Xmx100m ...
    Improve your app:
    JComponent.setDoubleBuffered(false);

  • How to fix blown out window highlights

    I'm a Realtor (www.MikeBishop.ca ) and when I take pictures of my clients homes I sometimes get blown out windows in the pictures. Is there a way to fix blown out windows in photoshop  CS3?
    Thanks Mike
    Message title was edited by: Brett N

    I noticed that at least one of your photos was taken with a Canon PowerShot SD750.
    This is a Point & Shoot and can only shoot jpgs.
    Things like blown out highlights in windows, sky, etc. is not surprising given the abilities of the camera.
    If you had a DSLR and shot RAW files you would have more leeway with adjusting photos using Adobe Camera Raw. RAW files have the full image data direct from the image sensor. All cameras, including DLSR throw away a lot of image data when they produce jpgs in the camera.
    Its not a miracle worker on a single photo that has blown out highlights, but if you use a tripod and shoot several shots bracketing the exposures you end up with a lot more image data to work with. Most, but usually not the lowest end DSLRs, have a bracketing function that does this automatically,  you don't have to adjust the exposure manually for each shot. Then with your bracketed shots you could better adjust them. Do things like "Load files into Stack" and mask out parts of each image.
    This may be more expensive and more involved that what you were hoping for.
    However, you can open your original jpgs in Adobe Camera Raw and you can adjust some elements fairly easily.
    Since the jpgs have already a lot of image data thrown away, you can't do nearly as much as with RAW files.
    One thing I noticed is the color balance of some photos is off. You may be able to adjust some settings in your camera before you shoot. You could also adjust them in Photoshop or in Adobe Camera Raw which is a part of Photoshop.
    A quick adjustment. the original feels cold as ice. Adjusting the color makes for a more inviting photo.
    Which photo do you think is more likely to help sell the house?
    This is from a small photo with low resolution so not so great. But it gives a idea about some possibilities.

  • How can I zero out the memory on my macbook air?

    I have an 11 inch mid 2011 macbook air and cannot figure out how to erase the memory so that none of the data is recoverable. I booted from the recovery HD but when I went to the erase section of the menu, the security options button and the zero out empty space option were both greyed out. How can I clean off my Mac?

    You can't, and don't need to, zero an SSD in Disk Utility. Once you've erased it the data is unrecoverable.

  • How did I run out of memory?

    I own a G5 power pc iMac. It came with a 250 Gig Hard drive. I have about 50 Gigs worth of movies, music and photos. It seems I only have 40 Gigs left. How is that possible? Could I have doubled up files or something?. I have searched the hard drive but there's so many files that look the same. I tried deleting some (by moving them to the trash) But that only messed up my apps. Like iTunes now shows double and triple songs, so does iPhoto. It doubled up my photos. Is there anyway I can fix this myself?. I am afraid if I delete files I'll loose some content. Someone please help!
    iMac G5 (power PC)2.1 GHz. OS 10.4.7  
      Mac OS X (10.4.7)  

    Just to clear a few things. Moving things to the trash does not clear up space in your HD.
    Emptying the trash will clear up the space in your HD.
    As for your music files doubling when you trash them:
    Open iTunes>Preferences>Advanced>General
    Make sure "Copy files to iTunes Music folder when adding to library" is unchecked.
    That should stop the doubling & tripling of your music files when you trash them.
    If the above does not help, then I suggest that you repost your iTunes problem in the iTunes for Mac Forum where the iTunes users hang out.
    As for your iPhoto problem, suggest that you repost your problem in one of the iPhoto Forums where the iPhoto users hang out if Miriam's suggestion(s) does not work.

  • How to fix zoomed out screen?

    My iPhone crashed while I'm traveling. I was running an app when it crashed and now the screen is expanded. It still works but cannot navigate. I have tried rebooting but no help. Unfortunately I don't have my iMac/iTunes to restore it. Is there a way to fix this problem?
    Thanks!

    If you have the 3Gs, it has the accessibility option, and you must have activated the zoom. Using 3 fingers, double tap and it should come back to normal.
    You can also check out the manual at http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    or from you iPhone in Safari, go to the link for the manual
    Message was edited by: ChrisJ4203

Maybe you are looking for