OutOfMemory*Error with serv/cli app

Hi, I'm new to this forum, and I'd like to submiot my dilemnas:
I wrote a server- client app, using TCP/IP and ObjectOuput/InputStream.
The sequence diagram is the following: The server send a message, and immediatly after the client answers, ant this while(true).
This app is to run 24/7. It works well until 800.000 messages are sent/received. Then I get a OutOf MemoryErroor, whileas I create only one message to be send & one to receive data, at the begenning. Then in the infinite loop, I receive one message, I sent my message.
And the other dilemna is that when I run the server & the client on the same machine, the consuption of memory is in constant increase, and 99-100% of the CPU is needed, but when it runs on separate machines, it takes <2-3
% CPU and <1 Mo of memory, constant.
Can you help me?

Thanks for replying Dave. Sorry its taken me a while to reply, I've had internet problems for a couple of weeks now.
I'm not making any socket connections at present, actually.
I have run the midlet on a Sony Ericsson K750i and it works fine, displaying non of the problems above.
Am still trying to get to the bottom of it...

Similar Messages

  • Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.

    Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.
    iMac, OS X Mountain Lion (10.8.4), trying to get Logic Pro X

    Hello jst84,
    The following article may be helpful in getting your purchase to complete.
    Mac App Store: "An unknown error occurred (100)" when purchasing
    http://support.apple.com/kb/TS3637
    Cheers,
    Allen

  • Connection error with server

    My configuration: Windows 7 and i use a proxy
    I've receive an error message when i launch adobe digital edition :
    Error to obtain licence.connection problem with server licence : E_ADEPT_XML_SYNTAX

    Is the home instance up and running?
    Did you try doing a full server restart
    opmnctl stopall
    opmnctl startallVerify all the apps are running with this command:
    opmnctl status -app -land make sure orabpel is active.
    -steve-

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • Error with Provider Hosted App on Edit Form of a list item

    We have an error on the Edit Form of one of our pages.
    We have developed a SharePoint Online Provider Hosted app which replaces the standard edit form of a list item and has some further events behind the save button. Since this is rather new territory for us, we're using a roundabout way of achieving this by
    using a script editor web part to display an iFrame of our app. That way we can pass the Url through to our app and retrieve query strings from them.
    Our issue comes quite intermittently in that we sometimes get a "web page cannot be found" error or sometimes a "resource cannot be found" error, however, when we load another app on the site (from the same app project, but using an app
    part), then go back to the Edit Form, the information in the iFrame suddenly renders.
    Any ideas on what might be causing this issue at all? Ideally, we should be rendering the app to the Edit Form is the proper manner, rather than scripting an iFrame that points to out app in Azure. Would this be the cause of the problem?
    Thanks
    Tom

    Hi thumper, if you have access to InfoPath, you can add the form to a page using the InfoPath web part. Otherwise, use SP Designer with instructions below:
    http://sharepoint.stackexchange.com/questions/70287/display-new-form-of-a-list-in-a-web-part-page
    cameron rautmann

  • Download/Install Error with Creative Cloud App

    I have Windows 7... I have been a Creative Cloud member since the beginning... I know what I am doing. Anyways... suddenly, the Creative Cloud app that keeps track of your apps and updating them, etc. is jacked up. As far as I can tell, nothing changed on my end... perhaps Creative Cloud updated itself and caught a bug? When you go to the Apps tab, it says, "Download error, the Creative Cloud installation is no longer functioning, please uninstall and download again..." which I did twice now... rebootted and all that good stuff... the other tabs work - ie. Home, Assets and Community... and yes, I am signed in properly and have an active account. This isn't the first time this app has been a problem... Adobe has seemed to have issues with this app for awhile now - off and on... and from what I can see in the various forums, it's not just me with these issues.

    WebWorxTech which error are you currently experiencing?  Is it only a download error or are you still prompted to uninstall?  If you are prompted to uninstall then please see Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html.
    If you are continuing to receive download errors then please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • OutOfMemory error with executable file

    I'm a plant scientist not a Java programmer, so apologies for naivety or lack of clarity here. I am trying to help a colleague who consistently gets a java.lang.OutOfMemoryError when running an .exe file provided as part of a freeware academic version of a bioinformatics package. The full commercial version would be supplied as jar files and the company gives the obvious advice on how to fix the error in this case: issue the command
    java -Xmx256m -jar THEPROG.jar [followed by program-specific options] where THEPROG represents the program in question. However this won't work with the exe version, which is presumably just a compiled stripped-down form of the Java original. Is there any way we can overcome this error? We are currently running J2RE SE (version 1.4.2_02) which is part of our standard Windows XP desktop build; the problem is independent of system memory availability, and I've reproduced it with other versions of JRE/JDK. The other exe file released as part of the same freeware package runs fine, but is less computationally demanding.
    Thanks in advance

    Thanks to cotton.m, ChuckBing and mimi_tan1985 for your replies. The exe file doesn't accept options of the form -Xmxnnn. Unfortunately the originator of the software doesn't document which program was used to create the exe file from the Java classes/jars, and it doesn't provide support for the freeware version, though it's widely used in the academic community as it performs superbly when it works. The documentation is sketchy and provides no info on changing memory allocation for the exe version, only for the jar version.
    It looks as though we will either have to break our bigger jobs up into multiple small jobs which will run OK, or find the $2000 or so we need to buy the full version.
    Thanks again for your help.

  • Download error with CC programs/apps updates. Solutions?

    I am getting a download error when I try to update my CC programs/apps. Solutions?

    WHAT error?
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Audio Buffer error with command line app

    I run a program called SBAGEN, which is a binaural beat frequency program that runs from Terminal.app - lately, when I invoke one of the scripts for this program, I get this error:
    Set audio output buffer size failed, status = 1852797029
    any ideas as to how to solve this?
    Thanks

    Resolved this issue on my own:
    *SYSTEM PREF—-> SOUND —–> SOUND EFFECTS*
    I needed to make sure that under +SOUND EFFECTS+, that the following was selected in the drop down menu +“Play sounds and alerts from”+: *SELECTED SOUND OUTPUT DEVICE*

  • Install errors with many 2014 apps and can we safely uninstall previous versions post-installation of the new releases?

    I'm getting errors for several CC 2014 applications. The CC desktop says "Installation Failed", and yet some have actually been installed despite the failed message.
    I also want to know if we can/should uninstall the old versions (CC and CC 64-bit) before (or after?) updating, because rather than upgrading the applications (which would have been nice), it just installs alongside them....so now I have 3 versions of Illustrator, 3 versions of PS, etc. I don't want all these versions, only the latest. Is it safe to uninstall the older versions (CC and CC 64) post-failed-installation of 2014, or should I just uninstall all and reinstall?
    Thanks in advance.

    I'm getting errors for several CC 2014 applications. The CC desktop says "Installation Failed", and yet some have actually been installed despite the failed message.
    I also want to know if we can/should uninstall the old versions (CC and CC 64-bit) before (or after?) updating, because rather than upgrading the applications (which would have been nice), it just installs alongside them....so now I have 3 versions of Illustrator, 3 versions of PS, etc. I don't want all these versions, only the latest. Is it safe to uninstall the older versions (CC and CC 64) post-failed-installation of 2014, or should I just uninstall all and reinstall?
    Thanks in advance.

  • Upsetting error with Air required app zipped

    Hello. I've installed your Air on my PC and the Air is right.
    Once, I've attempted an "Insta(-gram) viewer (privately) 1.0" http://youtu.be/w1R0vbThvXw which requires your Air.
    However, when I've clicked his .exe and he's been always saying that .exe has been damaged.
    I've comment the video on these and no responds yet.
    Plz link the video to download and attempt him to discover the problem where is, the .exe or my PC or more. Thanks!
    Windows 7 ultimate SP1 on Samsung NP350U2A-A03HK
    Activated product ID: 00426-OEM-8992662-00015
    S/N: HM7E91VC100019H

    You are asking in the wrong place. Please see the notice at http://forums.adobe.com/community/robohelp/airhelp

  • I cannot email a pages document to anyone.  Gmail reports error with server but works when i send a PDF

    I cannot email a document via share option or by attaching it to an email.  Never use to be a problem before the update

    Yes, others have reported it too. Tell Apple http://www.apple.com/feedback/pages.html
    and while waitng for an update use Pages 09. It should still be in Applications/iWork09 folder it you haven't deleted it.

  • Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2

    Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
    bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
    bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
    bash-3.00$ ./irca.sh
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
    Please verify that the ORACLE_HOME is set correctly.
    bash-3.00$

    Hi Craig,
    Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
    So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
    Section :- Oracle Application Server 10g Release 3 (10.1.3)
    Regards,
    Praaksh.

  • Every time i try and get on the apps it comes up with server connection error

    every time i try and get on to the apps it keeps comeing up with server  connection error -1

    Hi,
    Please refer the link below to troubleshoot the issue
    http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Web-Services-problem-Server-connection-​...
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • I am having a issue with server.app. It errors out on reading the settings for DNS

    Apr  8 10:01:13 portal.ejsoftware.private servermgrd[6373]: -[DNSRequestHandler readSettingsWithRequest:]: exception thrown: *** setObjectForKey: object cannot be nil (key: comments)
    Apr  8 10:01:13 portal.ejsoftware.private Server[6363]: Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_dns'. Error: Error Domain=XSActionErrorDomain Code=0 "READ_ERR" UserInfo=0x7f9353605970 {NSLocalizedDescription=READ_ERR}
    The DNS is working fine. The error is with a nil

    sudo named-check-conf -z /etc/named.conf
    zone 1.168.192.in-addr.arpa/IN: loaded serial 2013040701
    zone XXXXXX.com/IN: loaded serial 2013040701
    zone XXXXXX.private/IN: loaded serial 2013040701
    zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    zone XXXXXX.com/IN: loaded serial 2013040701
    zone XX.1.168.192.in-addr.arpa/IN: loaded serial 2013040701
    zone localhost/IN: loaded serial 42
    Do you know what the line means?
    setObjectForKey: object cannot be nil (key: comments)
    Is it refering to the text area in the GUI that you can add a description?  where are they stored?

Maybe you are looking for