Error when trying to analyze large heapdump

Hi,
Tried both the standalone Eclipse Memory Analyzer and also the batch file. The heapdump file is 4GB. From the batch file I get this
!SESSION 2008-09-10 12:57:15.546 -
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -application org.eclipse.mat.api.parse d:\Lipper\heapdump
Command-line arguments:  -os win32 -ws win32 -arch x86 -consoleLog -application org.eclipse.mat.api.parse d:\Lipper\heapdump
!ENTRY org.eclipse.osgi 4 0 2008-09-10 12:57:16.218
!MESSAGE Application error
!STACK 1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     at java.lang.String.substring(Unknown Source)
     at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.deleteIndexFiles(SnapshotFactoryImpl.java:234)
     at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:99)
     at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:87)
     at org.eclipse.mat.internal.apps.ParseSnapshotApp.parse(ParseSnapshotApp.java:74)
     at org.eclipse.mat.internal.apps.ParseSnapshotApp.start(ParseSnapshotApp.java:63)
     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
     at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
!ENTRY org.eclipse.osgi 2 0 2008-09-10 12:57:16.250
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-10 12:57:16.250
!MESSAGE Bundle update@plugins/org.eclipse.mat.jdt_0.7.0.200809051739.jar was not resolved.
!SUBENTRY 2 org.eclipse.mat.jdt 2 0 2008-09-10 12:57:16.250
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
!SUBENTRY 2 org.eclipse.mat.jdt 2 0 2008-09-10 12:57:16.250
!MESSAGE Missing required bundle org.eclipse.jdt.ui_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2008-09-10 12:57:16.250
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-10 12:57:16.250
!MESSAGE Bundle update@plugins/org.eclipse.mat.jdt_0.7.0.200809051739.jar [65] was not resolved.
!SUBENTRY 2 org.eclipse.mat.jdt 2 0 2008-09-10 12:57:16.250
!MESSAGE Missing required bundle org.eclipse.jdt.ui_0.0.0.
!SUBENTRY 2 org.eclipse.mat.jdt 2 0 2008-09-10 12:57:16.265
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
Thx.
David

Hi,
please rename the file to something like heapdump.hprof. Then it should work.
The problem: it looks like we do not expect the heap dump to have no extension. I have opened an Bugzilla Bug. If you want to track progress, feel free to add yourself to the CC list: https://bugs.eclipse.org/bugs/show_bug.cgi?id=246853
Andreas.

Similar Messages

  • OutOfMemory error when trying to display large tables

    We use JDeveloper 10.1.3. Our project uses ADF Faces + EJB3 Session Facade + TopLink.
    We have a large table (over 100K rows) which we try to show to the user via an ADF Read-only Table. We build the page by dragging the facade findAllXXX method's result onto the page and choosing "ADF Read-only Table".
    The problem is that during execution we get an OutOfMemory error. The Facade method attempts to extract the whole result set and to transfer it to a List. But the result set is simply too large. There's not enough memory.
    Initially, I was under the impression that the table iterator would be running queries that automatically fetch just a chunk of the db table data at a time. Sadly, this is not the case. Apparently, all the data gets fetched. And then the iterator simply iterates through a List in memory. This is not what we needed.
    So, I'd like to ask: is there a way for us to show a very large database table inside an ADF Table? And when the user clicks on "Next", to have the iterator automatically execute queries against the database and fetch the next chunk of data, if necessary?
    If that is not possible with ADF components, it looks like we'll have to either write our own component or simply use the old code that we have which supports paging for huge tables by simply running new queries whenever necessary. Alternatively, each time the user clicks on "Next" or "Previous", we might have to intercept the event and manually send range information to a facade method which would then fetch the appropriate data from the database. I don't know how easy or difficult that would be to implement.
    Naturally, I'd prefer to have that functionality available in ADF Faces. I hope there's a way to do this. But I'm still a novice and I would appreciate any advice.

    Hi Shay,
    We do use search pages and we do give the users the opportunity to specify search criteria.
    The trouble comes when the search criteria are not specific enough and the result set is huge. Transferring the whole result set into memory will be disastrous, especially for servers used by hundreds of users simultaneously. So, we'll have to limit the number of rows fetched at a time. We should do this either by setting the Maximum Rows option for the TopLink query (or using rownum<=XXX inside the SQL), or through using a data provider that supports paging.
    I don't like the first approach very much because I don't have a good recipe for calculating the optimum number of Maximum Rows for each query. By specifying some average number of, say, 500 rows, I risk fetching too many rows at once and I also risk filling the TopLink cache with objects that are not necessary. I can use methods like query.dontMaintainCache() but in my case this is a workaround, not a solution.
    I would prefer fetching relatively small chunks of data at a time and not limiting the user to a certain number of maximum rows. Furthermore, this way I won't fetch large amounts of data at the very beginning and I won't be forced to turn off the caching for the query.
    Regarding the "ADF Developer's Guide", I read there that "To create a table using a data control, you must bind to a method on the data control that returns a collection. JDeveloper allows you to do this declaratively by dragging and dropping a collection from the Data Control Palette."
    So, it looks like I'll have to implement a collection which, in turn, implements the paging functionality that I need. Is the TopLink object you are referring to some type of collection? I know that I can specify a collection class that TopLink should use for queries through the query.useCollectionClass(...) method. But if TopLink doesn't provide the collection I need, I will have to write that collection myself. I still haven't found the section in the TopLink documentation that says what types of Collections are natively provided by TopLink. I can see other collections like oracle.toplink.indirection.IndirectList, for example. But I have not found a specific discussion on large result sets with the exception of Streams and Cursors and I feel uneasy about maintaining cursors between client requests.
    And I completely agree with you about reading the docs first and doing the programming afterwards. Whenever time permits, I always do that. I have already read the "ADF Developer's Guide" with the exception of chapters 20 and 21. And I switched to the "TopLink Developer's Guide" because it seems that we must focus on the model. Unfortunately, because of the circumstances, I've spent a lot of time reading and not enough time practicing what I read. So, my knowledge is kind of shaky at the moment and perhaps I'm not seeing things that are obvious to you. That's why I tried using this forum -- to ask the experts for advice on the best method for implementing paging. And I'm thankful to everyone who replied to my post so far.

  • Upload Error when trying to send large files with Adobe Send

    I am a paid subscriber of Adobe Send and should be able to send up to 2GB of files. I am not able to send even 1GB. I have compressed all files into a .zip folder.
    I then tried splitting the files into 2 separate .zip folders at about 500MB each, and still got the upload error again after waiting for the entire file to upload. A lot of wasted time now.
    It's not reasonable for me to send all of the files piecemeal to my client.
    What is going on?
    Thank You!
    Dave

    Here are some screenshots:

  • I keep getting a 4000 error when trying to burn discs....only been since the update....Help

    Ever since the Itunes update, I keep getting an 4000 error when trying to burn my music to disc.  How do I fix this?

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • Solution to stop error when trying to create a portfolio

    Hi all,
    I finally found a way to make a portfolio in acrobat pro 9. The problems I was having were explained in the thread titled "Acrobat pro 9 has a stop error when trying to create a portfoloi"
    It seems ther is another way to do this, by selecting 'combine' and then 'merge files into a single pdf' rather than 'assemble pdf portfolio'.
    The merge option also gives the choice of making a pdf package and does not result in a stop error with authplay.dll.
    So much for Adobe support who conuld not tell me this or respond to support requests.
    All I have to do now is to remember to not click on 'assemble pdf portfolio' when I want to assemble a pdf portfolio but "merge files into a single pdf" when I want to assemble a pdf portfolio.
    I would still like to hear from Adobe why acrobat pro 9 has a stop error with authplay.dll.
    I feel a lot happier now.

    I read through the pdf wth your emails to/from customer support. I'll have to defer to someone else because it seems you have tried what I would suggest.
    If someone else does not respond with a better plan and you are willing to spend a bit more time before writing off Acrobat 9, I would try the process below one last time. (If you are using a CS suite, while authplay.dll is found in each of the directories, it does not appear that the issue extends to the other programs.)
    1. Using Add/Remove Programs, uninstall all Adobe Acrobat and Reader software and uninstall the Adobe Flash Player Active X and Adobe Flash Player Plugin. If you have it, uninstall Adobe Air.
    2. In C:\Documents and Settings\(your profile name)\Application Data\Adobe, delete the Acrobat and Adobe PDF folders if they still exist.
    3. Reinstall only Acrobat 9.
    4. From Acrobat, run the updater Help > Check for Updates and install all updates.
    5. Verify Adobe Acrobat is now version 9.2: Help > About Adobe Acrobat Pro  (If for any reason it is not 9.2, use the update on http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
    6. Test
    Message was edited by: Anna Nmty
    While searching for a solution, I just saw your post over at acrobatusers.com (http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=15765). Looks like my advice was largely a duplicate, although your event log indicates Acrobat did not update properly.

  • Error when trying to preview screen in screen file

    A few of us are receiving an error when trying to 'preview' a screen via screen file in rulebase. A large error window pops up with about 30 lines of text in it. The window is 'Preview in Web Determinations'. It starts with:
    class com.oracle.determinations.interview. engine.exceptions.CorruptSessionException: A unauthorised change to the Rule Session has been detected.
    further down in error there are multiple lines starting org.apache.catalina ......
    Has anyone seen this error, it's intermittent, not all screens, but once it's appeared for a particular screen, it won't stop (for that particular screen), even after re-boots etc.
    Does anyone know how to fix it?
    many thanks

    Hi There,
    I have faced this type of scenario and it will happen if we are in interview screen for long time with (inactive mode) and when we try to "Preview". You can try being at interview screen (some time inactive) and you can reproduce this type of Error.
    Thanks,
    Raj

  • What can be done to avoid getting the following error when trying to delete unused clips he operation could not be completed.  *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

    what can be done to avoid getting the following error when trying to delete unused clips in Imovie 09 "the operation could not be completed.  *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil"  I use to get these type of error messages when trying to delete unsused clips from a large event 60 minutes or longer, but now I get this message when trying to reduce a 4 minute event.
    Also, does anyone know if there is a limit to the total amount of space that can be taken up by Projects in Imovie 09
    Thanks for any help

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • Error when trying to refresh the current report-Invalid prompt def.WIS00005

    I am trying to create a Webi report using a Universe created with Universe Design Tool 4.0. I have created a new universe with a secured relational connection from a cube in our BBD system. The Universe can be created and exported in UDT (and when I test the connection, I get a message saying the server is responding). I can see values for the BEx query in BEx analyzer.
    When I open Webi and connect to a universe, I can see the universe, but when I put a dimension to our results tab and go to "run query", I first get the error "Error when trying to refresh the current report". If I close this error I get the error "Invalid Prompt Definiton - WIS00005". Has anybody else had this issue and if so, where can I begin to troubleshoot the error?

    Hi,
    Please note that if the object parses at Universe level it may still fail at runtime especially for the prompts.
    If you still experience the error after applying Patch 11 please analyze the characteristics of the prompt, get some trace logs with High level of detail, they surely  will help.
    Thanks!
    Best regards,
    Simone

  • Get the following error when trying to sync itunes to Nano itunes could not coppy " Song"  to the ipod because unknown error occurred (-5000).  Any ideas?

    Get the following error when trying to sync itunes to Nano itunes could not coppy " Song"  to the ipod because unknown error occurred (-5000).  Any ideas?

    Try my script FindTracks. Select a few of the missing files to start with then run the script. Choose No at the first prompt so that you can check how it works track by track, then confirm or edit the location of the media folder where your files are. Once you are happy with how it behaves let it process larger numbers of tracks automatically.
    tt2

  • 413 error when trying to download video

    I and some of my customers are seeing 413 errors when trying to download on-demand videos. The Googling I did before posting here all say to make changes to the Blackberry Enterprise Server to fix the problem, but the customers experiencing the problem are personal users, not corporate.
    Is this something I need to take up with the cellular carrier the Blackberrys were bought from, or there something I can do on the phone itself to resolve this issue?

    HTTP error 413 request entity too large
    This indicates that the web page is too large to be accessed.
    The maximum data amount permitted per connection setting in the BlackBerry® Mobile Data System (BlackBerry MDS) Connection Service is set to a lower allowable kilobyte level than required by the web page requested by the BlackBerry smartphone user.
    Resolution:
    Change the value of the maximum data amount permitted per connection setting by completing the following steps:
    BlackBerry Enterprise Server 4.1
    Open BlackBerry Manager.
    On the left pane, click MDS-CS service.
    On the right pane, click Edit Properties.
    In the General section, click Flow Control.
    Change the Maximum KB/Connection field from the default setting of 256Kb to 1024kb.
    Restart the BlackBerry MDS Connection Service to enable the settings to take effect.
    BlackBerry Enterprise Server 5.0
    Open the BlackBerry Administration web site.
    On the left pane, under BlackBerry Solution topology, expand the BlackBerry Domain menu.
    Under the Component View, expand the MDS Connection Service, and then click the name of the MDS-CS service.
    On the right pane, click General.
    In the General section, select Edit Instances at the bottom of the page.
    Change the Maximum data amount permitted per connection (KB) field from the default of 1024kb to a value greater than the size of the page that is being requested.
    At the bottom of the page, click Save all.
    Restart the BlackBerry MDS Connection Service to enable the settings to take effect.

  • I am getting an activation error when trying to sign in to FAceTime

    I am getting an activation error when trying to sign in to FAceTime

    me too after upgrading into lion..

  • Keep getting 5002 Error when trying to Sign In

    Hello,
    I created a new @me.com address today for a seperate Apple ID account.  I am needing to sign into the iTunes Store, but I keep getting a response that says:
    "We could not complete your iTunes Store request. An unknown error occurred (5002)."
    Any ideas as to what's going on here?
    I also took a screen cap of the issue:
    Thank you for the help!
    Marcus

    Thank you for your response Carolyn; however, that article does not fix my problem.  I am getting this error when trying to sign into the iTunes Store on my Mac.
    I get the same problem when signing into the Store on the iPad or iPhone.  I simply can't log in, but when I go to iCloud.com or the Apple ID login on Apple.com, it works.
    Marcus

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • Error when trying to update or download any app

    I'm getting an Error when trying to update or download any app from Mac App Store
    Every time I try to update xCode to version 6.2 but I get this error :
    The server gave an error during download: 503 Service Unavailable.
    So I tried to download a random app from the App Store but I got the same error message.
    So any advices ?

    Hello HusseinAlBehary,
    Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end. 
    Apple Services, Stores, and iCloud
    https://www.apple.com/support/systemstatus/
    Regards,
    -Norm G.  

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • How to transfer photos from one rhyme to another?

    how to transfer photos from one rhyme to another?

  • Open a custom dialog when button is pressed.

    I have a custom dialog that I want to display another custom dialog. I cannot get it work correctly. Everytime I add a function that will show the 2nd dialog It will show before the 1st one is loaded and then nothing happens when I click the dialog o

  • ODI Extract data to HFM by using hierarchies / member lists in filters

    Hi all, is it possible to use member lists or Account hierarchies in Account filter and Entity filter of LKM HFM Data to SQL? In example: ACCOUNT_FILTER=AccList (where AccList is a list) or ACCOUNT_FILTER=AccX.* (where Acc is a parent account and we

  • BR* Tools 700

    Hi, We are in the process of Oracle 10g upgrade from Oracle 9.2.0.7 (HP-UX 11.11), we got the following error message while extracting DBATOOL (BR* Tool 700) After extract SAR file under exe directory, it displayed "Format Error in header " Could not

  • On Demand Causes Verizon Box to Reboot Frequently

    I had Verizon before, and switched to Comcast but hated them so switched back to Verizon recently. Now, I have a problem I didn't have before. Only when watching on-demand, the set top box frequently reboots in the middle of watching the show. I have