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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:51:23+00:00 2026-05-16T16:51:23+00:00

I have a web application in Spring that has a functional requirement for generating

  • 0

I have a web application in Spring that has a functional requirement for generating a CSV/Excel spreadsheet from a result set coming from a large Oracle database. The expected rows are in the 300,000 – 1,000,000 range. Time to process is not as large of an issue as keeping the application stable — and right now, very large result sets cause it to run out of memory and crash.

In a normal situation like this, I would use pagination and have the UI display a limited number of results at a time. However, in this case I need to be able to produce the entire set in a single file, no matter how big it might be, for offline use.

I have isolated the issue to the ParameterizedRowMapper being used to convert the result set into objects, which is where I’m stuck.

What techniques might I be able to use to get this operation under control? Is pagination still an option?

  • 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-16T16:51:24+00:00Added an answer on May 16, 2026 at 4:51 pm

    I would push back on those requirements- they sound pretty artificial.
    What happens if your application fails, or the power goes out before the user looks at that data?

    From your comment above, sounds like you know the answer- you need filesystem or oracle access, in order to do your job.

    You are being asked to generate some data- something that is not repeatable by sql?
    If it were repeatable, you would just send pages of data back to the user at a time.

    Since this report, I’m guessing, has something to do with the current state of your data, you need to store that result somewhere, if you can’t stream it out to the user. I’d write a stored procedure in oracle- it’s much faster not to send data back and forth across the network. If you have special tools or its just easier, sounds like there’s nothing wrong with doing it on the java side instead.

    Can you schedule this report to run once a week?

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

Sidebar

Ask A Question

Stats

  • Questions 514k
  • Answers 514k
  • 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 I haven't used tpl before, but from a quick look… May 16, 2026 at 6:11 pm
  • Editorial Team
    Editorial Team added an answer Regarding your first question, you can simply use a type… May 16, 2026 at 6:10 pm
  • Editorial Team
    Editorial Team added an answer Verify that the path property of the cookie is not… May 16, 2026 at 6:10 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 have an ASP.NET web application that has a fileupload control to allow users
I'm writing a web application (PHP) for my friend and have decided to use
I have a problem, which is not easily described. I'm writing a web application
In my web application, I create some framework that use to bind model data
I'm working on a web based application that belongs to an automobil manufacturer, developed
I have this stadard code for receiving a class from a web service: function
I have just written a Word Document creation web application using .NET 3.5 which
I have an ASP.NET MVC 2 application in which I am creating a custom
I'm writing a web interface to MySQL that executes a couple queries and returns
I am simply learing Ajax with jQuery and have a simple page method 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.