Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. antonas

    Max Heap , real free memory and GC invoke

    Thanks for your response. So if got it clear JVM does not starts gc when physical memory limit is reached. Thats actualy my question is. Its little hard to use System.gc because I can hardly say when I need to start it while I am sending objects via network in some encoded format. Object size...
  2. antonas

    Array out of bond

    try{ //your code here } catch (IndexOutOfBoundsException e){ // do something here }
  3. antonas

    Max Heap , real free memory and GC invoke

    Yes but my question is if GC will be invoked after physical free memory is no available. Situation is that I have created plenty of temporary objects in the loop. I explicitly null in the loop so they can be collected by GC. But The problem is (or may be) that I set Max Heap size of JVM to 25 Mb...
  4. antonas

    Max Heap , real free memory and GC invoke

    Hi, My question is about Garbage Collector invoking. Ash far as I know Garbage collector implicitly is invoked when it reaches maximum heap size assigned to the JVM. Lets say if I have java -Xmx25m Blabla So when JVM memory usage will reach 25M it will not be able to create more objects and...
  5. antonas

    send() is not setting the errno

    Yes I do send to connected socket. I have send messages 500 times and it was sucesfuul and then it started fail to send it. But It happened only once or twice, when machine load was high
  6. antonas

    send() is not setting the errno

    Hi, I am very new in socket programing on Unix. The problem is that it seems that send function is not setting a errno on Solaris machine or I got it wrong. well I have ... trace("DEBUG 0 Number of bytes returned :%d", errno); begin = 0 while (send_len > (cur_sent =...

Part and Inventory Search

Back
Top