Re: evince and linux-embedded devices



El lun, 31-03-2008 a las 08:33 +0300, Vlad Vasiliev escribió:
> Dear developers of evince.
> 
> There is a problem in using evince and linux-embedded device Nokia n810
> http://europe.nokia.com/n810 . This device has only 128 Mb RAM . Evince
> consumes a lot of memory when open some pdf files and as a result it's
> got killed my OOM killer.  An example of such file is here:
> http://www.macs.hw.ac.uk/~ruth/ICAPSWorkshop/paper2.pdf
> This file has very big image (more 90Mb) on third page.After opening
> this file evince consumes a lot of memory.
> The evince (IMHO) does not corrected work with memory.
> The reason of this could be that evince allocated two blocks of memory
> for the same.
> To catch the issue I used valgrind with options: --tool=massif --depth=50
> valgrind --tool=massif --depth=50 evince -p 3 paper2.pdf
> for diagnostic problem.
> Please find the report file attached (massif.out.29236). You can view it
> using ms_print utility from valgrind.
> This report shows double allocation of memory for image.
> What do you think is it really double memory allocation issue or not?
> I also prepared fix for that and it worked for me on N810 just fine.
> But I'm still not sure if it's 100% correct. I'd really appreciate if
> you look at the attached patch and tell me if it's correct or not.

The problem of the images has been already fixed in evince 2.22. In any
case we'll continue working on improving memory consumption  for evince
2.24. 

> 
> Regard,
> Vlad Vasiliev

-- 
Carlos Garcia Campos
   elkalmail yahoo es
   carlosgc gnome org
   http://carlosgc.linups.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]