Open GoogleCodeExporter opened 8 years ago
My guess is that the kind of encoding used for images makes a big difference as
to speed. I'll try to play with these.
Original comment by arpruss
on 22 Sep 2011 at 7:35
I note that at 128mb the device is kind of low on RAM. That might be the
issue. Try turning off the "Render ahead" option and see if that helps. (It
will slow things down.) Also make sure that the option to allocate extra
memory is set to zero.
Original comment by arpruss
on 22 Sep 2011 at 7:36
I tried all possible combinations... Result the same.
I tried to get this book with not 150 pages, just 50. Result the same.
15 pages :) - the same...
Of course, it can be the problem at my device, and I can't say, that it is not
possible, and at another devices it works good. But another documents with more
size and quality works great! I very want to use this application, that has so
much settings, what I can use just for me, and all settings are so useful... No
one reader does not have so.
I have more enhancements, but it is later.
P.S. I wanted to ask: Why does application close book without exception and any
messages? Of course, it is for more usability, maybe for testing it is good to
have exception messages for knowing causes and place of code of crashing? It
just my thought :)
Thanks!
Original comment by OlegDere...@gmail.com
on 22 Sep 2011 at 7:53
I think that it's running out of memory (128mb is low for Android) and the OS
silently closes the activity for that reason.
Have you tried closing all other applications and processes with a task killer
before launching apv?
Original comment by arpruss
on 5 Oct 2011 at 2:51
I understand. I will try make some tests tonight. When I finish, I'll answer
immediately.
Original comment by OlegDere...@gmail.com
on 5 Oct 2011 at 2:58
Good Day!
How I promised, I did some tests.
1) Installed Task Killer and killed all processes. Free memory is 45 MB.
2) Tried to open attached books: result the same - CRASH. Reason: I think
problem not exactly at application, it is problem into this PDF files. APV
doesn't want open.
The pages of these PDF files - images. They doesn't content text (fonts), that
could reduce quantity of Kbytes per page. Сalculations show, that files can
have for example 250 - 500 kbytes/page or more. And maybe of it application
crashes...
3) When I open another files, APV uses about 20-25 MB RAM memory. Free memory -
20 Mb. When I try scroll pages very fast, happens, that APV crashes, but not
often.
Resume: I think the problem is not "OUT OF MEMORY".
4) PDF files, that have text (OCR layer) works very fast! I opened files with
1000 (and one file was 1980 pages!!). First time opens not very fast, another
times faster. Scroll - nearly immediately.
5) I will try parse file "Лучшие компьютерные игры №6
(Best Computers Games).pdf" to understand the structure. When I open this file
(I don't yet understand why) works excellent! All pages - images without text,
but rendering very fast. Maybe it depends on quality of images into PDF files,
but need to know limit where quality is good for eyes and not heavy for APV.
I think we nearly understand the problem, and, certainly, this is not problem
of APV, but I can't say, that this problem wouldn't rise at another devices.
If I will have info about this theme, I will write at this branch.
Thanks.
Original comment by OlegDere...@gmail.com
on 6 Oct 2011 at 10:38
[deleted comment]
Good Day developers!
First, I want to say sorry to arpruss, because I was not right.
1) I sad, that the problem was with some files, what were converted from Djvu
format. So, for example file "Девис. Суперсила. Поиски
единой теории природы (Adobe).pdf" crashes at 9-th page,
because Djvu to PDF Converter (there were a lot of PDF printers), make the 1
page with size - 24 MB! I checked it, when extracted pictures from PDF file by
PDF Image Extractor. All pages were fine, had 1.04 Mb, and crashed pages was 24
Mb. So maybe, if EKEN 001 had more memory, it didn't crash, but at this
situation it works like this.
2) Another files, what didn't open - had first page - 24 Mb. So files crashed
at once.
3) If I convert by another (normal!) program, and pages have right size, APV
doesn't crash.
One more, what I wanted to say: I sad, that file "Лучшие
компьютерные игры №6 (Best Computers Games).pdf" works very
good. I know why. Extracted pages from this file showed, that pictures inside
PDF file have dimension 1000 px * 1500 px, 300 dpi, and format jpg. "EKEN eats
this file as chocolate".
The file "Девис. Суперсила. Поиски единой
теории природы (Adobe).pdf" has 2700 px * 3600 px, 300 dpi, BMP
format. So, it is very hard for my device. No, it opens, and I can't say, that
to read this file bad, but not comfortable a lot.
Thanks arpruss and I very sorry, that I spent your time. You were right.
Oleg
Original comment by OlegDere...@gmail.com
on 9 Oct 2011 at 3:26
Original issue reported on code.google.com by
OlegDere...@gmail.com
on 22 Sep 2011 at 6:10