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 967137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:16:03+00:00 2026-05-16T02:16:03+00:00

i tried to compare my java web app behaviour on 32 bit windows and

  • 0

i tried to compare my java web app behaviour on 32 bit windows and 64 bit linux.

When i view the memory usage via jconsole i find very different graph of memory usage.
On windows the appl never touches 512m.
However when i run on linux 64bit with 64 bit VM the memory keeps invcreasing gradually and reaches peak value about1000m very quickly and i also get oome error related to GC over head limit exceeded. on linux whenever i do manual run GC it drops below to less than 100m.

Its like the GC does seem to run so well as it does on windows.

On windows the app runs better with even more load.

How do i find the reason behind this?

Iam using jdk1.6.0.13

min heap:512m and max heap 1024m

EDIT:

  • Are you using the same JVM versions on both Windows and Linux?

    • yes.1.6.0.13.
  • Are you using the same garbage collectors on both systems?

    • I noticed in jconsole and i see that the gc are different.
  • Are you using the same web containers on both systems?

    • yes.Tomcat.
  • Does your webapp rely on native libraries?

    • Not sure. I use tomcat+spring+hibernate+jsf.
  • Are there other differences in the configuration of your webapp on the two platforms?
    No

  • What exactly was the error message associated with the OOME?

    • java.lang.OutOfMemoryError: GC overhead limit exceeded
  • How long does it take for your webapp to start misbehaving / reporting errors on Linux?

    • The difference in usage pattern is seen after i leave it running for say 3hrs. The error appears after like a day or 2 days since by then avg memory usage is seen around 900 mb mark.
  • 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-05-16T02:16:04+00:00Added an answer on May 16, 2026 at 2:16 am

    A 64bit JVM will naturally use a lot more memory than a 32bit JVM, that’s to be expected (the internal pointers are twice the size, after all). You can’t keep the same heap settings when moving from 32bit to 64bit and expect the same behaviour.

    If your app runs happily in 512m on a 32bit JVM, there are no reasons whatsoever to use a 64bit JVM. The only rationale for doing that is to take advantage of giant heap sizes.

    Remeber, it’s perfectly valid to run a 32bit JVM on a 64bit operating system. The two are not related.

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

Sidebar

Ask A Question

Stats

  • Questions 529k
  • Answers 529k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The output is different because of the order in which… May 16, 2026 at 11:20 pm
  • Editorial Team
    Editorial Team added an answer you can check all the validation condition in Button_Click ///… May 16, 2026 at 11:20 pm
  • Editorial Team
    Editorial Team added an answer I am learning how to use sha1 to encrypt passwords.… May 16, 2026 at 11:20 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm wondering if there's such a thing as Django-like ease of web app development
I find unit testing vital. Several times I have tried the TDD but given
I'm having an issue with Delphi 2007 when trying to consume a web service
I'm totally new to both java and java Server worlds... But I've a good
I want to demonstrate with a few line of code that in Java, that
I am trying to drag a view over the screen FrameLayout main = (FrameLayout)
I need to pass an x/y around. I was just using java.awt.Point. I do
I tried the standard DotNetObfuscator that comes with Visual Studio 2010 on my code.
I have to compare a row of one table that is not in another
I need to compare few function calls and signature between my application and an

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.