OutOfMemory Error due to unknown reasons

HI ALL
In my application iam reading an audio File nearly of size 55, 100MB etc and the graphical display
of the audio file is shown.Recently we have included the feature of opening multiple audio files
using JInternal Frames. Now when i try to open the above said size file OutOfMemory Error is thrown.
Iam not able to find the reason as iam cooly able to open the file in single JFrame.
I even tried to create only single JInternalFrame to open the 100MB file only but even then OutOfMemory Error is thrown
The code for drawing the graph is:
double y_new;
byte[] sampleByte = new byte[1];
DataOutputStream dos = new DataOutputStream(new BufferedOutputStream(new FileOutputStream("linesTop.txt"),1000));
for( int j=0 ;j <length of file; j++)
audioInputStream.read(sampleByte);
y_new = (h1*sampleByte/256); //some calculation
dos.writeDouble(y_new);
dos.flush();
dos.close();
I thought to increase the Ram Size with command java -Xxm.... but i heard that the appl will become
slow and has many draw backs so i want display the graph without increasing the heap size.
Any Ideas /Suggesstions will be greatfully thanked.
Wating for an idea...............
kalpana

Sorry - part of it is I'm not sure what logs to post. I've tried downgrading the kernel from 2.6.39 to 2.6.38 (seemed to start after the kernel upgrade), switching from Wicd to NetworkManager (couldn't even get NetworkManager to work) and looked through the various logs in /var/log, and none of them seem to have any errors - heck, the pm-suspend log claims that the suspends are a success. If I run pm-suspend in a terminal, it seems to do nothing and if I kill it it does a wonky suspend that pretty much renders the computer unuseable afterwards. (With a nice graphcal distortion.)
Kernel logs don't report errors either, and the problems occur if I suspend from the XFCE menu as well.
Also, my wireless card shows up as: Atheros Communications Inc. AR9285 Wireless Network Adapter. I also tried removing the logmein-hamachi daemon I installed recently.
Last edited by GourdCaptain (2011-07-18 18:53:37)

Similar Messages

  • Laptop Toshiba P50-A-K9M often freezes due to unknown reason

    Hi,
    My Toshiba P50-A-K9M constantly freezes due to unknown reason. My OS is Windows 7 64-bit.
    Initially I thought that it was due to overheating. However, when I enabled CPU temperature monitor I noticed that freezes happen even if the temperature is relatively low (39%).
    My second guess was about memory. But Windows memory diagnostics passed without any problems.
    I can't confirm it but I've a feeling that it happens on CPU intensive tasks but it's not linked to particular program.
    I had freezes while compiling an Android application, other times it was during browsing in Google Chrome... I even had a freeze when only File Explorer and Image VIewer were running in foreground.
    Could you help me with this problem?
    Thanks,
    Leonid

    Try removing one of your memory sticks and run it that way. Try one at a time and in different memory slots to fully test your memory.
    Run a boot time virus scan
    Run a full disk check to test the hard drive. 
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • "Wireless association failed due to unknown reason"

    I am running Vista home (manufacture installed on new laptop) and am trying to connect to internet through new router WRT150N.  The network is created fine (my other laptop can access it) excellent signal etc, but I keep getting the message "Wireless association failed due to unknown reason".  I have tried every different security setting including no security at all and still cannot connect.  I am, however, able to connect to the router with a wired connection.  I would prefer to not have to chuck this thing out the window but it is becoming increasingly likely.
    Thanks for your help.

    hi there;
    considering the scenario you've got on your network, that there are other wireless pc connecting to the router, then there is nothing wrong with the router itself.  all the settings on it maybe correct.  just to isolate the problem try to contact microsoft so as to clarify with them on securities and wireless settings of the vista laptop you've got there, so as you won't get frustrated thinking about your immediate problem.
    i have a friend who uses the same brand and model # as yourself, and he does not have any issues with his win vista connecting to the router.
    give microsoft a call, just to clarify things.
    thanks.

  • ISDN call rejecting due to unknown reason

    Hai all
    I am trying to connect two sites using
    ISDN.But the call is getting rejected.
    The "debug isdn q931" message gives
    " Cause i = 0x8095 - Call rejected "
    The code 95 indicates call rejected due to unknown reason.Does anybody knows the
    solution to solve this problem.
    Regds
    Sudeesh

    Sir
    The IOS of RtrA is c1700-k9sv3y-mz.122-13.bin
    And the show isdn status is
    grvisdn1#sh isdn stat
    Global ISDN Switchtype = basic-net3
    ISDN BRI0 interface
    dsl 0, interface ISDN Switchtype = basic-net3
    Layer 1 Status:
    ACTIVE
    Layer 2 Status:
    TEI = 103, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
    1 Active Layer 3 Call(s)
    CCB:callid=6, sapi=0, ces=1, B-chan=2, calltype=DATA
    Active dsl 0 CCBs = 1
    The Free Channel Mask: 0x80000001
    Total Allocated ISDN CCBs = 1
    At present I can't send the remote site IOS and sh isdn stat since no access to remote site.I tried the remote site with two different routers.
    Initially 800 and now 1700 .Not able to connect
    with both routers.
    regds

  • MIRO Error due to Quality Reason

    Hi All,
    Suppose there are 3 GRs of different date of same material. Out of which for 1st GRs quality Inspection has been done and rest 2 GRs are not. Account has received the 3 Bills from vendor for 3 GRs separatly.
    when Account tries to Execute MIRO for 1st GRs for which quality Inspection has been done.
    system is not allowing me to Post MIRO, Generating Error Message for quality reason.
    Why system generating error while posting MIRO for quality Inspection clear for 1st GRs.
    please help me...
    manoj singh

    Hello,
    Please look into this,
    If you set this indicator, the payment of the invoice is blocked with blocking reason I (I = Inspection), if you want to prevent automatic payment of the invoice from a QM standpoint.If this indicator is set, when the invoice is created, the system determines whether an inspection lot exists and if necessary, sets blocking reason I. This occurs in the following instances:
    1) There is still no usage decision for the inspection lot
    2) The inspection lot is rejected
    The automatic payment program checks whether the blocking reason I still exists. The following scenarios can occur:
    Invoice verification takes place with reference to the goods receipt.If there are several partial deliveries for an order item, the system checks for each GR item whether blocking reason I exists. This means that automatic payment of the invoice is only prevented for partial deliveries that do not fulfill requirements.
    Invoice verification takes place without reference to the goods receipt.
    If there are several partial deliveries for an order item, the system only checks with reference to the order item whether blocking reason I exists. This means that automatic payment of the invoice is prevented, if one or more GR items does not fulfill requirements.
    The system does not automatically remove blocking reason I, if an acceptance decision is made for the inspection lot concerned. You must remove blocking reason I at invoice verification or invoice release. To do this, set the indicator Release invoices automatically when releasing invoices.
    If you only want to pay invoices, when the quality management process has accepted goods or waived a goods receipt inspection, you must ensure that invoices are not entered before goods receipt. You do this by planning GR-based invoice verification for the relevant vendors.
    Please revert with your feedback
    Regards
    Gajesh

  • Generate PDF failed due to unknown reason

    I have updated Bridge
    I have resetted prefs.
    It happens in both CS4 and CS5
    any ideas?
    Mac 10.6.8

    and its odd it happens in the CS4 also
    That is indeed the weird thing but to me this seems also the reason to first look at you OS system itself because it is almost impossible that both CS4 and CS5 have same fault behavior in one day I would think.
    Make sure you have sufficient disk space and also double check if you have read and write permissions for the disk and folder you are trying to save the PDF files to (choose folder in finder and the hit cmd + i or get info from menu file) and at the bottom of the window check the permission settings.
    Also run Apple Disk Utility to check and repair permissions.

  • Firefox will not start. Have error message "Failed (unknown reason)". Now I cannot get to the Internet

    I was browsing and was asked if I wanted to update Firefox. I clicked yes. Thought it loaded, but now I cannot get to the internet at all. Now when I attempt to open Firefox and click on HELP, it gives me a Downloading Firefox 3.6.7 - but it will not connect.
    == This happened ==
    Just once or twice
    == I was attempting to load upgrades to 3.6.7 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can

  • When I try to export my digital certificate (make a backup copy), firefox says that backup PKCS # 12 could not be done due to unknown causes.

    I obtained new digital certificate, which is working without any problems. When I try to export backup copy of new or already existing certificate, I get response window that exportation failed due to unknown reason. I use Firefox 3.6.14

    The same problem occured with FF in Linux. The solution found there was to uninstall Torbutton, restart FF and try again. In my case I had to try twice. There may of course be other plugins that cause problems ...

  • HT1386 directory (harddrive) into my IPOD Touch 4.   I get an unknown reason -50 error for their names during syncing attempts.  1 album is greyed names on my IPOD. What can I do?

    I bought some mp3 music files from Amazon that will not sync from the Itunes directory onto my IPOD Touch 4.  What can I do to get them to sync?  I am getting a -50 unknown reason error message when the system tries certain songs.  I also bought a whole album from Amazon in mp3s that downloaded to my Itunes directory, yet only shows up as greyed out on my IPOD.  What can I do?  Most of the rest of my songs have synced with the IPOD.  I called Amazon's help line but they say I have to call Apple's help line, and it is just past the end of my year's service.  I wondered if it was due to the new Amazon cloud software, but they claim it isn't since the songs play on my hard drive.  I'd appreciate any suggestions.

    Thanks for the information.  I actually fixed my problem after many hours of experimentation in two different ways.
    I found that when I filled in more information in the catalog about songs on mixture albums, I had to always check the COMPILATION box to have those songs sync correctly. Apple didn't say anything about that. Without the checkmark on each song in the compilation album, the song would cause a 50 error.
    I also found that if I moved the problem songs (that caused the error 50 message) out of my Itunes Library and reimported them, that stopped them from causing the error 50.  So I deleted them and reimported them into the library.  I found that some of the songs in the Itunes catalog had showed weird locations with addresses like C:\\\documents and settings...instead of the real pathway that might have been C:\documents and settings..  Some pathway addresses had become corrupted for some reason in the information that my Itunes library stored.  So when I reimported them into the ITunes library from another location, their pathways were fixed and they no longer caused the 50 error while syncing.  I painstakingly identified each song that was failing and deleted each specific song to clear up the problems.
    That said, I do appreciate this board and the fact that others are willing to take time to help other users.  Much obliged.

  • Getting "Can not open the file due to unknown error(FRM:0007)"

    Getting "Can not open the file due to unknown error(FRM:0007)", when refreshing the local copy of Deski report  from user docs.
    Any assistance
    Thanks,
    Sasi.

    Hi Sasi,
    One of the reason for this error is corrupted universe.So you can try following steps and restore copy of universe and then try to import this universe and check whether it works.
    1.While importing a universe, a temp file is created in the users local settings temp directory.
    2. For example C:\Documents and Settings\brijones\Local Settings\Temp\0dd0b0a7 .
    3. File has no extension is relatively the same size as the original universe file.
    4.Rename this file to original universe name.
    I hope it helps.
    Regards,
    Snehal

  • Portlet cannot be displayed due to unknown error

    In our application we are getting Error, "portlet cannot be displayed due to unknown error" from ALUI portal. There is no enough informaiton apart from this. This error is not consistent, can happen any time.
    Can you please advice what could be the cause?
    Thanks,

    Start the "BEA Ali Logger service" on your portal server machine. Then when the problem occurs you can analyze \bea\alui\ptlogging\logs\portal\portalserver-log.spy to find out more information about what might be causing the problem. You can also set up a wireshark network capture log using the ringbuffer mode which lets you collect logs in a loop. This way if there are network issues you can find out about that too. If you're not comfortable setting these up or analyzing them an oracle support engineer can assist you if you open a case.

  • TS3221 iTunes could not connect device due to unknown error (0xE8000012)

    TS3221 iTunes could not connect device due to unknown error (0xE8000012) please tell me the solotion

    Turn your iPhone to a DFU mode and restore it

  • ITunes Cannot connect to iPhone due to unknown error (0xE8000065)

    Hello!
    When I plugin my iphone to a wall, it refuses to charge (it just keeps making a bleeping noise).
    And when I try to connect my iPhone to iTunes, I can't. It just says: iTunes Cannot connect to iPhone due to unknown error (0xE8000065)
    Any suggestions? I replaced the battery hoping that would do the trick, but nada.
    Cheers

    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting
    Did you try a different charger and a different cable? If it won't charge the error will go away soon also when the battery dies.

  • TS3694 trying to update software on my iphone 4s- "could not be updated due to unknown error" (6).  what does this mean.  my phone appears to be in a near complete state of update...

    Not sure what to do.  finally decided to upgrate software on my phone.  installed itunes on my new laptop. plugged by phone in and started process.  nearing the end i received an error message stating that the phone "could not be updated due to unknown error" (6).  HELP!
    the phone itself appears to be in mid update....

    This describes error 6:
    Errors related to third-party security software
    Error 2, 4 (or -4), 6, 1000, and 9006
    Follow the steps to troubleshoot security software. Often, uninstalling third-party security software will resolve these errors.
    There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. An incorrectly set default packet size can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
    Verify that access to ports 80 and 443 are allowed on your network.
    Verify that communication to albert.apple.com or phobos.apple.com isn't blocked by a firewall or other Internet security setting.
    Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps under "Advanced steps > Rename, move, or delete the iOS software file (.ipsw)" below for file locations.
    Restore your device while connected to a different network.
    Restore using a different computer.

  • HT3204 When attempting to burn an audio cd, I get an error message that says-burning failed due to unknown error (4280)?  It has been working fine, until today...what does this mean??

    When attempting to burn an audio cd from my playlist, I get an error message that says, burn failed due to unknown error (4280).  It has been working fine for months...any solutions?

    I have the exact same problem.
    Been searching through this site to try and find an answer but still not come up with anything.
    The wierd thing is that a couple of days ago it was working fine, and suddenly overnight it's stopped working.
    The only solution i've found is that you need to have administrator rights as it says in the posts on the site below:
    http://www.emergingearth.com/itunes-7-cant-burn-cds/
    Noticed by the diagnostic in your post that you dont have admin rights like me so that mite be the problem. Not sure if this is the right solution though.
      Windows XP  

Maybe you are looking for

  • Jabber-config.xml file, settings do not apply

    hi as i have a very simple setup i never used a jabber-config.xml file but as i have some display name issues and i thought it would be good to set some other settings as well i created a file but for some reason the settings do not seem to stick (do

  • What about the Brass and Woodwind instruments?

    There should be brass and woodwind instruments. Such as a saxophone, a clarinet, a flute, and a trumpet.

  • Not able to add Select Supported Document Types

    Hi I am new to Oracle B2B. Going through the steps given in the tutorial http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/b2b_tps.htm#BABGAJDE Completed till 5.3 - Task 2 (Add a User in the Oracle B2B Interface) And the Next thing

  • How can WLS use JSP pages in a Web Application witth just a JRE [Web Application, WAR, JSP, weblogic.jsp.pageCheckSeconds and JRE]

              How can WLS use JSP pages in a Web Application (either a .war file or a war directory structure) without a java compiler?           I suspect either the JSP specification is flawed (i.e. it doesn't take account of servers using just a JRE),

  • Cisco ISE v1.1

    I'm looking for Cisco ISE v1.1 to use the following licensing feature. http://www.cisco.com/en/US/prod/collateral/vpndevc/ps5712/ps11637/ps11195/qa_c67-658591.htmlEndpoint is dynamically profiled by Cisco ISE and assigned  dynamically or statically t