• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Controlling Microsoft Document Box

 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a process that creates an Excel spreadsheet for download which can be quite large depending on the parameters selected. The problem is, when the file is large and the user chooses to open the report right from the document save popup instead of just saving it, it eats up a huge amount of memory on the server while it's passing the data to Microsoft Excel. The question I have is, can I force the popup to disable to Open button? I haven't been able to find anything on this specifically. Thanks.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sounds strange to me. Once the file is streamed to the client, nothing the user does should influence memory consumption on the server. How did you determine that that's the cause?
 
Pat Flickner
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pretty much, I was watching the server's memory (we have a web page that we created awhile ago that shows how much memory the server has and how much is currently in use) and saw it spike when I did anything with the Excel. It was very short for doing a Save, but opening it directly from the MS popup (clicking the Open button) took a long time, so it is streaming directly to Excel rather than just a straight download. See, it hasn't completed the stream yet when it's doing a direct download to Excel from the server; it seems to be actually using the server to build the Excel format for Excel. If it downloads to the PC via a Save, this isn't an issue -- brief spike, albeit not as severe, and then it's done.
 
reply
    Bookmark Topic Watch Topic
  • New Topic