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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:08:04+00:00 2026-06-09T10:08:04+00:00

I have an older PC with a Intel(R) Pentium(R) 4 CPU 2.53GHz and 2

  • 0

I have an older PC with a Intel(R) Pentium(R) 4 CPU 2.53GHz and 2 GB of RAM. I’m iterating through javax.mail.Message instances and am wondering about upper limits on memory usage.

Assuming “regular” sized messages, how many can be comfortably loaded? Tens, hundreds of thousands? Millions?

Just looking for some ballpark WAG’s please.

The heap as so:

run:
DEBUG: nntp: newsrc loading /home/thufir/.newsrc
DEBUG: nntp: newsrc load: 5 groups in 16ms
Aug 05, 2012 3:52:17 AM net.bounceme.dur.usenet.driver.FetchBean <init>
INFO: max 259522560
Aug 05, 2012 3:52:17 AM net.bounceme.dur.usenet.driver.FetchBean <init>
INFO: allocatedMemory 16252928
Aug 05, 2012 3:52:17 AM net.bounceme.dur.usenet.driver.FetchBean <init>
INFO: freeMemory 14160912
Aug 05, 2012 3:52:17 AM net.bounceme.dur.usenet.driver.FetchBean <init>
INFO: totalFreeMemory 257430544
Aug 05, 2012 3:52:17 AM net.bounceme.dur.usenet.driver.FetchBean <init>
INFO: useMemory 2092016

I’m iterating through Message‘s which are loaded from a local Leafnode NNTP server using the GNU NNTP library.

The headers for the message are examined, and then, when appropriate, some headers are persisted to the database with JPQL.

This is on Ubuntu 11.10 GNOME classic, by the way.

  • 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-09T10:08:07+00:00Added an answer on June 9, 2026 at 10:08 am

    Well I would say that it depends of heap memory space you allowed for the Java Virtual Machine.

    You can listen to memory manager notifications on heap space.
    If enter on the exceeded state, stop loading more messages, round down the message to a value you would like then paginate the results.

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

Sidebar

Related Questions

We have an older VB6 application that used to run under various user's accounts.
i have an older test unix server with mysql 4.1 enterprise edition on it.
I have an older web application that uses a MySQL Database (MYISAM). I noticed
I have some older (broken) code that has a join using a *= table1.ID
I have some older code that doesn't appear to work on 64bit Windows 7.
Do older iPods and iPhones have a frame rate of 60fps? I'm finding that
I have the negative timestamp (that is date older 1970, e.g. 15.04.1896). How to
I have a toolbar developed under older versions of Windows that is largely cut
I have a linux VPS that uses an older version of python (2.4.3). This
I have code which as been working against an older Active Directory server and

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.