java.lang.OutOfMemoryError When open a pdf file - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: java.lang.OutOfMemoryError When open a pdf file

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12698

  • konnech2
  • konnech2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
java.lang.OutOfMemoryError\: Failed to allocate a 7925772 byte allocation with 4194208 free bytes and 4MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java\:831)
at android.graphics.Bitmap.createBitmap(Bitmap.java\:808)
at android.graphics.Bitmap.createBitmap(Bitmap.java\:775)
at com.radaee.view.PDFLayout.vResize(PDFLayout.java\:132)
at com.radaee.reader.PDFLayoutView.PDFSetView(PDFLayoutView.java\:1217)
at com.radaee.reader.PDFLayoutView.PDFOpen(PDFLayoutView.java\:1233)
at com.hongzhengtech.hzpaperlesssystem.ui.activities.document.DocumentViewActivity$OpenTask.onPostExecute(DocumentViewActivity.java\:247)
at com.hongzhengtech.hzpaperlesssystem.ui.activities.document.DocumentViewActivity$OpenTask.onPostExecute(DocumentViewActivity.java\:214)
at android.os.AsyncTask.finish(AsyncTask.java\:651)
at android.os.AsyncTask.-wrap1(AsyncTask.java)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java\:668)
at android.os.Handler.dispatchMessage(Handler.java\:111)
at android.os.Looper.loop(Looper.java\:207)
at android.app.ActivityThread.main(ActivityThread.java\:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java\:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java\:679)\n
Attachments:

Please Log in or Create an account to join the conversation.

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12699

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
Are you experiencing the same issue on our demo project?
If so, may you forward your PDF document?

Please Log in or Create an account to join the conversation.

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12702

  • konnech2
  • konnech2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
This error raised randomly.
Attachments:

Please Log in or Create an account to join the conversation.

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12705

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
Randomly in your application or in demo project?

Please Log in or Create an account to join the conversation.

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12708

  • konnech2
  • konnech2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Randomly in our application, we have not test it in demo project.

Please Log in or Create an account to join the conversation.

java.lang.OutOfMemoryError When open a pdf file 1 year 3 months ago #12709

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
First step which would allow us to proceed is that you should be able to reproduce the issue in the demo project.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum