Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9142233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:45:02+00:00 2026-06-17T09:45:02+00:00

My program showed trends of memory leak. When the memory usage reached the peak,

  • 0

My program showed trends of memory leak. When the memory usage reached the peak, the GC count was more and the objects were garbage collected.

We found that a class which was the reason for the memory leak trend.

But I would like to check why the class was actually garbage collected and when I explored the class, there was only one transient object in the class.

Transient objects are objects that are not serialized. But does the transient nature have anything to do with garbage collection?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:45:02+00:00Added an answer on June 17, 2026 at 9:45 am

    There’s no such thing as a transient object. There are transient fields, which are ignored during serialization – but that has no effect on garbage collection.

    Basically, I think you need to look elsewhere for your leak (if indeed you even have a leak).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a c++ program that dies because of out of memory error. Do
Profiling some computational work I'm doing showed me that one bottleneck in my program
I was trying to build a datepicker program on iPhone. However, the time showed
Program that calculates and shows the value of (2 to the 10th power) This
I have a program that returns a comma-separated string of numbers after doing some
I was debugging a C++ program in VS 2003, and a boost variable showed
I know there was a study somewhere that showed which places users focused on
Has anyone written either a long or short program in COW that demonstrates what
I have an Android program with a ScrollView that will correctly do an automatic
I'm trying to add plugins to my program, and this looks good, except that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.