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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:24:37+00:00 2026-05-15T00:24:37+00:00

I start the Method Profiler for a process, then leave it run for about

  • 0

I start the Method Profiler for a process, then leave it run for about 5-10 secs, then I stop it. I see a progress that a file is pulled from the sdcard, than I get this Exception

The trance file is 8.2MB

[2010-05-23 18:45:42] Traceview: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
[2010-05-23 18:45:42] Traceview:    at java.util.Arrays.copyOf(Unknown Source)
[2010-05-23 18:45:42] Traceview:    at java.util.Arrays.copyOf(Unknown Source)
[2010-05-23 18:45:42] Traceview:    at java.util.ArrayList.toArray(Unknown Source)
[2010-05-23 18:45:42] Traceview:    at java.util.Collections.sort(Unknown Source)
[2010-05-23 18:45:42] Traceview:    at com.android.traceview.TimeLineView.setData(TimeLineView.java:370)
[2010-05-23 18:45:42] Traceview:    at com.android.traceview.TimeLineView.<init>(TimeLineView.java:316)
[2010-05-23 18:45:42] Traceview:    at com.android.traceview.MainWindow.createContents(MainWindow.java:95)
[2010-05-23 18:45:42] Traceview:    at org.eclipse.jface.window.Window.create(Window.java:431)
[2010-05-23 18:45:42] Traceview:    at org.eclipse.jface.window.Window.open(Window.java:790)
[2010-05-23 18:45:42] Traceview:    at com.android.traceview.MainWindow.run(MainWindow.java:60)
[2010-05-23 18:45:42] Traceview:    at com.android.traceview.MainWindow.main(MainWindow.java:224)

What I am doing wrong?

  • 1 1 Answer
  • 1 View
  • 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-15T00:24:37+00:00Added an answer on May 15, 2026 at 12:24 am

    Try using the -Xms and -Xmx VM flags to increase the heap space.

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

Sidebar

Related Questions

In my Application_Start() method, how can I stop the execution of the ASP.NET application
According to MSDN : If you did not use the Start method to start
Right now we just use something like this stopWatch.Start(); try { method(); } finally
I have a Java method which starts up a Process with ProcessBuilder, and pipes
For some part of my project I need a process-local scheduling system that will
Please review the example code below, I have a class file that is loaded
I am trying to access the Cache in the Application_Start method of Global.asax. I
Start a new Silverlight application... and in the code behind (in the Loaded event),
I start by creating a string variable with some non-ascii utf-8 encoded data on
I start to write a client - server application using .net (C#) for both

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.