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

  • SEARCH
  • Home
  • 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 4338094
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:02:07+00:00 2026-05-21T11:02:07+00:00

I am working with Jama Matrix . I used it for LSI. It works

  • 0

I am working with Jama Matrix. I used it for LSI. It works all fine. However, when I pass a big matrix like, 8000×8000 it kills my whole system. I am simply calling SVD then reducing matrix size and adding up. Nothing else !

Any idea? How can I solve this problem?

core2du

Ram = 10GB

Java runtime setting

-Xmx5000M

There is no other program running while I execute Jama matrix code

  • 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-21T11:02:08+00:00Added an answer on May 21, 2026 at 11:02 am

    I also use the Jama for SVD and have the same problem in solving big matrix.
    In order to reduce memory overflow cases, I have tuned SingularValueDecomposition.java to compact one. The tuning is that in the matrix A it has so many 0 (zero) value so the compact for all of matrices used such as A, U, V, Work, etc only allows memory for available value which is more than 0.
    Before you use the compact SVD, you should make A matrix file like
    r /t c /t value /n
    r /t c /t value /n
    … ‘/t’ and ‘/n’ means tab and new line respectively.

    examples, (0, 0, 0), (0, 1, 0.5), (0, 2, 0), (0, 3, 0.2), (1, 0, 1), (1, 1, 0), (1, 2, 0), (1, 3, 0.3) and the matrix size is 2*4 (R*C) then you just make file like
    MATRIXSIZE /t 2 /t 4 /n
    0 /t 1 /t 0.5 /n
    0 /t 3 /t 0.2 /n
    1 /t 0 /t 1 /n
    1 /t 3 /t 0.3 /n

    If you would like to use it, please give me your email address (mg.hwang@gmail.com).
    I will give more details to use it on email.

    I checked the result was right. However, I am not sure how much effective it is for the computer.
    Anyway, it works and shows better even if not much.

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

Sidebar

Related Questions

Working with TCL and I'd like to implement something like the Strategy Pattern .
Working with MVC 2 ad with the help of some friends I thought all
Working SQL The following code works as expected, returning two columns of data (a
Working in C#, I need to find all local peaks in a List of
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working with a SqlCommand in C# I've created a query that contains a IN
Working on a project at the moment and we have to implement soft deletion
Working on a somewhat complex page for configuring customers at work. The setup is
Working on a project that parses a log of events, and then updates a
Working with python interactively, it's sometimes necessary to display a result which is some

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.