Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2012
    Posts
    106

    Default 4.2.2 BUG. Keep very high CPU usage when auto fresh serveal time in text compare

    Only open two TAB.

    one folder compare, one text compare.

    current active TAB is text compare. after change several file which exist
    difference in my editor, bc4 auto refersh view when changed.

    after serveal times, change only two file, every file change 3-5 times in
    only one panel, I found, CPU usage is very high and keep no change.

    follow is top output:


    11846 zw963 20 0 909488 123232 69964 S 100.3 0.4 13:32.09 BCompare
    2568 zw963 20 0 6352552 3.874g 3.788g S 15.6 12.5 295:48.12 VirtualBox
    10036 zw963 20 0 3419860 1.100g 129880 S 1.7 3.5 31:50.72 firefox
    1460 root 20 0 660732 174820 149696 S 1.0 0.5 42:54.77 Xorg
    8137 zw963 20 0 447400 37752 28448 S 0.7 0.1 0:40.53 xfce4-terminal
    2197 adminis+ 20 0 33312 9340 2904 S 0.3 0.0 1:27.86 redis-server
    3086 zw963 20 0 57556 4920 3992 S 0.3 0.0 1:11.00 xscreensaver

  2. #2
    Join Date
    Apr 2012
    Posts
    106

    Default

    When I close text compare, CPU still keep high.

    After I close folder compare, bcompare exit completely, CPU restore to normal.

  3. #3
    Join Date
    Apr 2012
    Posts
    106

    Default

    64 bit version. 4.2.2 Slackware.

  4. #4
    Join Date
    Apr 2012
    Posts
    106

    Default

    because I few do the same things like this (bcompare, and keep change),
    after reopen folder bcompare with same two folder, and keep some diffrence
    file open and close several time. ( I usual do this often, few cause CPU high)
    the CPU high situation is not happen again.

    So, I think this situation only happen in some files keep frequently changed.
    bcompare auto refresh logic exist some bug ...

  5. #5
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    I have tested this out on a supported OS, where I have two tabs (Folder and Text Compare), and I externally edit a text file in the Text Compare. Then, going back to BC4 prompts to Refresh (yes). I have repeated this several times, but have not seen a change in CPU usage.

    Is your text file located locally, such as on your Desktop\?
    Is your text file a plain text Everything Else format file?

    If you are still having trouble, please email us your BCSupport.zip from the Help menu -> Support dialog, and a pair of sample files to test with. There may be something context specific, or this may be a bug with Slackware.
    Aaron P Scooter Software

  6. #6
    Join Date
    Apr 2012
    Posts
    106

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    I have tested this out on a supported OS, where I have two tabs (Folder and Text Compare), and I externally edit a text file in the Text Compare. Then, going back to BC4 prompts to Refresh (yes). I have repeated this several times, but have not seen a change in CPU usage.

    Is your text file located locally, such as on your Desktop\?
    Is your text file a plain text Everything Else format file?

    If you are still having trouble, please email us your BCSupport.zip from the Help menu -> Support dialog, and a pair of sample files to test with. There may be something context specific, or this may be a bug with Slackware.
    >> and I externally edit a text file in the Text Compare
    I edit serveal files repeatly, suppose, file1.txt file2.txt in two folder, edit file1 use a external editor, edit several times, return bcompare, it auto-refresh(because I settings it not prompt), and open file2 use a external editor, do same things.

    i think following config is maybe affect:

    - settings auto refresh when editor without prompt
    - edit same file use a external editor, e.g. emacs.

    > Is your text file located locally, such as on your Desktop\?
    > Is your text file a plain text Everything Else format file?

    locally, a normal plain text.

  7. #7
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    How many edits on average before you start to see issues? I've set that setting with a pair of plain text files, and edit one side repeatedly a couple dozen times, but am not seeing the same behavior.

    If you can email your BCSupport.zip, you may have another setting I can try testing with set. If you can, also include a pair of sample files, in case it is grammar or format related. When you email us at support@scootersoftware.com please also include a link back to this forum thread.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •