qdiff failed with "out of memory" error while processing 73 MB file

Bug #481254 reported by Alexander Belchenko
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

Report from Volodymyr Kotulskyi:

While running qdiff for the 73MB file on the notebook with 1GB free RAM, qdiff working several seconds, eat all 1GB of RAM then failed with message "out of memory".

Tags: qdiff memory
Changed in qbzr:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Alexander Belchenko (bialix) wrote :

Volodymyr: can you say us version of used Qt/PyQt libs. Are you using standalone bzr.exe?

Revision history for this message
Casufi (vladimirkotulskiy) wrote :

D:\Develop\Navision\5.0>bzr version
Bazaar (bzr) 2.1.0b1
  Python interpreter: C:\Develop\Python26\python.exe 2.6.3
  Python standard library: C:\Develop\Python26\lib
  Platform: Windows-XP-5.1.2600-SP3
  bzrlib: C:\Develop\Python26\lib\site-packages\bzrlib
  Bazaar configuration: C:\Documents and Settings\Vladimir\Application Data\bazaar\2.0
  Bazaar log file: D:\Docs\.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzrtools 2.1.0b1
explorer 0.8.3
launchpad 2.1.0b1
netrc_credential_store 2.1.0b1
qbzr 0.15.0
svn 1.0.1
xmloutput 0.8.4

I am using PyQT version 4.6

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 481254] Re: qdiff failed with "out of memory" error while processing 73 MB file

Gary, I suspect this error related to syntax highlighting.
Do we have any simple way to disable syntax highlighting so Volodymyr
can check if it works in plain mode?

Revision history for this message
Gary van der Merwe (garyvdm) wrote : Re: [Bug 481254] Re: qdiff failed with "out of memory" error while processing 73 MB file

On Thu, Nov 12, 2009 at 4:37 PM, Alexander Belchenko <email address hidden> wrote:
> Do we have any simple way to disable syntax highlighting so Volodymyr
> can check if it works in plain mode?

Unfortunately not. The only way do that is to uninstall pygments.

Revision history for this message
Casufi (vladimirkotulskiy) wrote :

I removed pygments and pygments-1.0-py2.5.egg folder from C:\Develop\Python26\Lib\site-packages\bzrlib\plugins\qbzr\_lib\ and I got the same result

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 481254] Re: qdiff failed with "out of memory" error while processing 73 MB file

Casufi пишет:
> I removed pygments and pygments-1.0-py2.5.egg folder from
> C:\Develop\Python26\Lib\site-packages\bzrlib\plugins\qbzr\_lib\ and I
> got the same result

Your working copy of Pygments should be in

C:\Develop\Python26\Lib\site-packages\pygments directory.

The one from qbzr\_lib is not used in the case of Python-based
installation as you have.

Revision history for this message
Casufi (vladimirkotulskiy) wrote :

I don't have pygments in site-packages folder

Revision history for this message
Alexander Belchenko (bialix) wrote :

Casufi пишет:
> I don't have pygments in site-packages folder

Hmm, then you don't have syntax highlighting. My guess was wrong.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.