Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to determine if object creation is to high ...

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Thanked 0 Times in 0 Posts

    Default How to determine if object creation is to high ...

    Greetings Everyone,

    First off I am new to these forums ... so hello everyone! Very nice to meet you. Second, I am a beginner when it comes to Java programming and I am currently investigating an issue with an application that is suffering memory exhaustion. The specifics that really stand out to me are the long running GC events. I have tried to determine what might be causing this (looking at heap and thread dumps) and thought that the object creation might be a bit high. The current object creation is about 30mb/sec. Which brings me to my actual question .... can this be considered to "high" is there any rule of thumb which should be applied to such programming? Any and all comments help are greatly appreciated.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,421 Times in 2,374 Posts

    Default Re: How to determine if object creation is to high ...

    rule of thumb which should be applied to such programming
    Don't worry about it unless it is a problem.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 17
    Last Post: November 11th, 2018, 07:05 AM
  2. Object Creation Help
    By alex.melz95 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 15th, 2013, 04:30 AM
  3. Binary datafile and object creation according to binary tag ?
    By loicus in forum Object Oriented Programming
    Replies: 4
    Last Post: October 14th, 2011, 01:00 PM
  4. [SOLVED] Help; algorithm to determine 'range'
    By b_jones10634 in forum Algorithms & Recursion
    Replies: 13
    Last Post: August 24th, 2010, 04:57 PM
  5. Looping object creation
    By Charlie in forum Java Theory & Questions
    Replies: 5
    Last Post: June 19th, 2010, 11:12 AM