Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2012
    Rep Power

    Default Out Of Memory Issue on Byte Array

    My Project is in Flex and Java . From Flex I pass the Argument to Java so when I pass I got the Out Of Memory issue. Kindly see below of my code java and flex

    Java Code
    SQLiteStatement photoNotesResultSet = null;

    String spath=dbDirectory +"/" +photoNotesResultSet.columnString(2);
    Flex Code
    I am using Flex and Pass the xms arguments
    var processArgs:Vector.<String> = new Vector.<String>();

    Look forward your reply as soon as possible. Thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: Out Of Memory Issue on Byte Array

    I have no idea what any of that does, but if that's the JVM Xms argument then 'g' is not valid, so it is probably falling through to the default.
    'k', 'K', 'm' and 'M' are the only things (kilobyte and megabyte), there isn't a short version for gigabyte.

    I would also recommend using 'Xmx' instead (or both), as I'm not sure what happens if you define Xms but not Xmx.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. HELP!Another Memory Game issue
    By allan2020 in forum AWT / Swing
    Replies: 2
    Last Post: 03-06-2012, 05:41 PM
  2. Java Memory Issue
    By personal in forum Advanced Java
    Replies: 12
    Last Post: 01-07-2012, 02:05 PM
  3. Replies: 1
    Last Post: 10-21-2011, 11:55 AM
  4. convert byte array into char array
    By kgkamaraj in forum New To Java
    Replies: 4
    Last Post: 09-13-2011, 11:32 AM
  5. Replies: 8
    Last Post: 03-04-2011, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts