Total storage in User file greater than size of all folders

I am trying to clear space of Startup drive.  When i "Get info" on User it shows 91 GB, but total of all files under User is less than 45 GB.  Where are the other files?

Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
iPhoto ▹ Empty Trash
Do the same in other applications, such as Aperture, that have an internal Trash feature.
According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
See this support article for some simple ways to free up storage space.
You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
Proceed further only if the problem isn't solved by the above steps.
ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
Back up all data now.
If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
When you're done with the app, quit it and also quit Terminal.

Similar Messages

  • Merging files greater than 100MB in size

    How do I merge multiple pdf files greater than 100MB in size?

    However...the talk of 100MB suggests you don't actually have Acrobat. This is indeed a fixed limit if you are a subscriber to PDF Pack (CreatePDF), and the way around it is to get Acrobat.

  • How do I search for files greater than 500M in size within a directory?

    I would like to know how to recursively search through a directory and it's subdirectories for files greater than 500M. What is the command for this?
    Thanks!

    Oh my, it's too early...
    You want >500M files, here you go...
    find /path/to/dir -type f -size +524288000c
    **BLUSH**
    To add something useful here, in ksh you can type
    find /path/to/dir -type f -size +$((500*1024*1024))c

  • Is there a correlation b/w Error -2048 and MPEG-4 files greater than 2GB?

    I am having considerable difficulty in getting any of my DVD/movie files greater than 2GB to upload into my iTunes library. Anyone else having this difficulty? Through another problem, I discovered that iTunes ability to play video is based a thinned-down version of the Apple's QT engine, which prompted me to try and open these files using QT Pro; however, there too, I am getting a peculiar -2048 error suggesting it is not a movie file. The files were created using WONDERSHARE and I am experiencing difficulty with only the files that exceed 2GB in size.
    For WONDERSHARE users, here are my relevant settings:
    RESOLUTION: 720*400
    CODEC: H.264
    FPS: 30
    KBPS: 2,000 or 2,500 (toggled in between both to manage file size for longer movies, like 3 hour Bollywood epics)
    Any help on this matter woudl be much appreciated.
    Thanks,
    Tabish

    Jon,
    Thanks for your response. I have inserted commentary below:
    I am having
    considerable difficulty in getting any of my
    DVD/movie files greater than 2GB to upload into my
    iTunes library.The 2 GB
    restriction is usually on your source file -- the DVD
    VOB -- or associated with Fat-32 file system. I have
    H.264 files as large as 3.8 GB for SD content.
    The file system is NTFS. I am not sure what you mean by DVD VOB.
    I discovered that
    iTunes ability to play video is based a thinned-down
    version of the Apple's QT
    engineiTunes can access the
    entire QT structure. The iPod and TV players are
    limited to a modest QT sub-set.
    O.K. But, QT still cannot open the file. If the files are corrupt, how come they only become corrupt at 2+ GB.
    however, there too, I
    am getting a peculiar -2048 error suggesting it is
    not a movie file.If issued by an
    Apple application, this error code usually equates to
    "noMovieFound" at the referenced location. This could
    be a path error or refer to a movie interrupt during
    conversion (as when your 2 GB plus source file
    terminates prematurely) and the target file is not
    closed properly (and is likely not recognized as a
    valid QT file).
    CODEC:
    H.264In which profile?
    Again, not sure what you mean by "profile."

  • Formatting external drive for read/write PC/Mac & files greater than 4GB

    I'm on Snow Leopard and deliver an external drive off-site to a video editor who needs to read/write to the drive and return the edited files and then I need to read/write all over again. All video files are greater than 4GB. How would I go about this? Third party applications like MacDrive create too much overhead when processing video files. FAT32 limits file sizes to 4GB.

    Hi WillDuffy;
    Your requirement of files greater than 4GB eliminates FAT.
    In your case since you don't have access to the PC, I am afraid you are forced to use the NTFS. This will require you to use the reverse engineered effort called NTFS-3G to be able to write to the disk from your Mac. Sorry.
    Allan
    Message was edited by: Allan Eckert

  • FileUpload using JAX-WS webservice on weblogic 10.3.5 is taking long time for files greater than 10MB

    I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps  and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters  it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
                    at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
                    at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
                    at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
                    at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
                    at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
                    at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
                    at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
                    at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
                    at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
                    at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
                    at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
                    at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
                    at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
                    at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
                    at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
                    ^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
                    at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
                    at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
                    at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
                    at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
                    at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
                    at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
                    at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
                    at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
                    at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
                    at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
                    at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
                    at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
                    at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
                    at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                    at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
                    at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
                    at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
                    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

    I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps  and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters  it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
                    at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
                    at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
                    at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
                    at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
                    at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
                    at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
                    at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
                    at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
                    at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
                    at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
                    at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
                    at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
                    at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
                    at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
                    at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
                    at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
                    at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
                    at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
                    at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
                    ^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
                    at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
                    at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
                    at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
                    at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
                    at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
                    at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
                    at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
                    at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
                    at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
                    at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
                    at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
                    at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
                    at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
                    at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                    at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
                    at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
                    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
                    at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
                    at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
                    at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
                    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

  • Attaching files greater than 100mb

    if you purchase the full version of adobe forms central are you able to attach files greater than 100mb

    However...the talk of 100MB suggests you don't actually have Acrobat. This is indeed a fixed limit if you are a subscriber to PDF Pack (CreatePDF), and the way around it is to get Acrobat.

  • How do I download files greater than 200MB to my Iphone now my music is in the iCloud?

    How do I download files greater than 200MB to my Iphone now my music is in the iCloud? I still have my music on my hard drive of course.

    Go to settings --> store --> and make sure automatic downloads for music is on.  If you download music in iTunes, it should automatically download to your phone.

  • Restricting users from uploading files greater than certain size in Kpro

    Hi,
    How can we restric users from uploading files in SAPoffice which are greater than certain size (5MB)?
    Awaiting for reply.

    Hello Gino,
    you go to Tcode DC10, in the define document type,
    there is a option file size, this gives you restriction , only if you are not using KPro and content server.
    If you are using Kpro and content server, then please do the enhancement (SE80, package ,CV)
    With the help of this you can restrict and put the warinig message if your original size is exceed.
    Thanks & Regards,
    nitin
    Award point if useful

  • Restricting users froms uploading files greater than certain size in km.

    Hi,
           How can we restric users to upload files in KM which are greater than certain size (5MB)?Awaiting for reply.

    Hi,
       It is out of standard you must develop your own upload command (SAP Developer Studio).
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/knowledge management and collaboration developers guide.html
    Patricio.

  • Temp files greater than 2GB

    While running an OBIEE report, I receive the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46073] Operation 'stat()' on file '/u02/OracleBIData/tmp/nQS_28056_15671_77250638.TMP' failed with error: (75) . (HY000)
    The problem seems to be that the TEMP file created by the query is greater than 2 GB.
    Is there a way within OBIEE to bypass the 2 GB file size limitation of 32-bit servers (Windows/LINUX)?

    John - I don't understand how this is a cache issue. The file being created is a TEMP file in the /OracleBI_Data/tmp directory. What is the relationship between the TEMP directory and cache?
    My DATA_STORAGE_PATHS is currently set at 4 GB.
    By the way, I have spent a lot of time reading your OBIEE blog, and have found it to be extremely helpful.

  • Problem in uploading PDF file greater than 450Kb in portals

    Hi All,
            There is aproblem when we upload a PDF file of size greater than 450 KB in portals,it shows some error.
    Do i need to change any server settings for this or any other configuration is required.
    Help will be appreciated
    Thanks in Advance

    Hi Amit,
    Pls check the thread below:
    /message/1634863#1634863 [original link is broken]
    Hope this helps.
    Regards,
    venkat

  • JSF : Reading files greater than 200MB

    Hi,
    I am using JSF with tomahawk in my application.
    From the jsp i am calling a POJO to read a file (in a zip file) based on a condition. I am reading the whole file and returning back the full file...obviously i hit a java.lang.OutofMemory exception.
    I want to do something like send back each line (or chunk) that i read from the file back to the calling page.
    Here is the code that I have
    JSP:
    <pre>
    <%
         out.print(readObject.readFromZipFile(strPathToZipFile, logFileName);
    %>
    </pre>Here is the mehod readFromZipFile from the readObject class:
    public String readFromZipFile(String zipFilePath, String filePath) {
         StringBuffer sbFile = new StringBuffer();
         byte data[] = new byte[blockSize];
         BufferedInputStream is = null;
         try {
              ZipFile zipfile = new ZipFile(archivePath);               
              ZipEntry entry = (ZipEntry) zipfile.getEntry(filePath);                         
              is = new BufferedInputStream(zipfile.getInputStream(entry));
              while (bytesToRead > 0) {
                   data = null;
                   data = new byte[bytesToRead];          
                     sbFile.append(new String(data));
              is.close();
         } catch(Exception e) {
              log.error(e);
         } finally {
              is = null;
              data = null;
         return sbFile.toString();
    }I am reading the file and sending the data back as a string. Is there a way i can send the data back in chunks to the JSP / JSF and flush the data so that i dont hit the out of memory exception?
    Any help is highly appreciated.

    Hi BalusC,
    I tried this big time...i am getting roasted !!!
    This is what i tried in the servlet
    //get the size of the file
    int iFile = file.size();
    //start reading file from 5000 bytes
    int iPart = 5000;
    //read the file in part increments of 1000 bytes
    //so that we dont read the entire file at one shot
    while(iPart < iFile){
    //read the file from the given (start bytes)
    //to the (start bytes + 1000)
    response.getWriter().append
              (readZipFile(strPath,file,iPart,iPart+1000));
    //increment iPart to read the next 1000 bytes , next time around
    iPart = iPart + 1000;
    //flush the writer so that you can clear it
    response.getWriter().flush();
    }I still get a out of memory error...
    BTW i also tried response.getOutputStream().write()...
    This is apart from the read file method given above...what am i doing wrong here?

  • UPLOAD OF ATTACHMENT FILES GREATER THAN 100KB FAILS

    Attachment/Upload file is failing if the file is more than 50KB. The version i am using is 11.5.8 on Sun solaris. Any ideas???

    mlfedv,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Email attachement (EXCEL. CVS FILE) greater than 255 bytes

    I have read the postings on this topic - Thomas Jung - you appear to be the expert on this topic.  My concern is breaking up the file into chunks and then being sure SAP knows how to re-assemble them when transferred.  Could anyone give me some sample code on this and the FM's required (I know the FM is SO_NEW_DOCUMENT_ATT_SEND_API1 to send it and it works great except for the 255 limit).  I am under the gun to get this resolved ASAP.  I know SAP can handle it - I go into SAP Office and have no trouble e-mailing large attachments to external e-mail accounts - actually I have been told to run debug when I do this and see how SAP handles it (a long debug session I am sure).  Any help would be most appreciated and get mucho reward points.  Thanks!!

    I just wrote a huge, long post on this but got a Java Server error when I hit Post Message.  Arg!
    Let me try and re-summarize.  You shouldn't be concerned about how SAP will re-assemble the SOLI structure.  If when you convert your data to CVS format you properly insert new line characters, this will be the place that Excel uses to parse the file.  You see there is an assumption that the end of the line in an ABAP internal table always means a new line in a downloaded file.  This is probably because all the SAP supplied download functions do this for you by default.  However what they are doing is adding this new line character for you.
    Now how you get to the end point of what you want, depends upon a few things.  What release are you on?  Do you already have your data in CVS (with newlines) or do you need to get it there from an internal table? Is your data in a string?
    If I knew the answers to these questions I might be able to help out.  I have code sample for 620 and higher that should dynamically convert your internal table to Tab Delimited string (also good for download to excel or easy to modify to CVS).  Once in the string it is quite easy to use the SAP function module SCMS_STRING_TO_FTEXT to get you to the SOLI main structure.
    Let me know if you need more details.

Maybe you are looking for

  • Installation Problem on CentOS

    Hello guys, i am using an Centos 6.2 linux with installed oracle-xe. I have installed it from an rpm. I use always the default settings. After that i could start it normal and successful connect to apex. Now i want to create an database user. I conne

  • Oracle Forms - need to update multi-record block - Help needed asap

    Hi, We are using Oracle apps release 11i - Oracle forms 6i. I have a field "project_start_date" in project_block in a custom form. There is another multi-record block called role_block in the same custom form and it has a field named start_date. Requ

  • N-Gage Application

    I am having problems with my nokia N85's N-Gage Application. When I start the application, I get the message 'system error'. So I uninstalled it. Then Opened the application using the multimedia key then prompted me to download from my nokia's browse

  • Go Macbook or PRO? PLZ HELP!!!

    i'm a newbie in every sense of the word so advice is needed. I'm going to venture out and get an apple laptop but which should i get? the macbook or the macbook pro? Other than price, is there a difference? If it helps, i'm going to be majoring illus

  • Sort by Color Mode?

    Is there a way to sort by color mode rather than by color profile? I have a large collection of images, many untagged, and I'd like to sort out RGB and grayscale from CMYK.