Project

General

Profile

Actions

Defect #6796

closed

Long Description Causes 100% CPU on Windows

Defect #6796: Long Description Causes 100% CPU on Windows

Added by Erich Rockman about 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:
Affected version:

Description

DB: postgres 8.4.3
Ruby: 1.8.7
Rails: 2.3.5
Redmine: 1.0.2

Creating an issue with a long description causes 100% CPU utilization on Windows. The text I was adding to the description is attached as a file.


Files

RedmineDescription.txt (183 KB) RedmineDescription.txt Erich Rockman, 2010-11-02 15:04

Related issues 1 (1 open — 0 closed)

Related to Redmine - Feature #6269: RedCloth 4 supportNewActions

Updated by Felix Schäfer about 16 years ago Actions #1

Which process eats up the CPU? Ruby or the DB?

Updated by Erich Rockman about 16 years ago Actions #2

Sorry. Ruby.exe.

Updated by Felix Schäfer about 16 years ago Actions #3

Mmh, I don't have a windows machine so I can't try to reproduce it… Have you tried reproducing it on the demo redmine? If not, please do so.

Updated by Jean-Philippe Lang about 16 years ago Actions #4

I can confirm the issue. And it comes from Redcloth3 that takes minutes to format this 185kB text.
A solution would be to upgrade to Redcloth4 which is considerably faster for such long texts.

Updated by Erich Rockman about 16 years ago Actions #5

Thanks. I did a gem install RedCloth. It installed 4.2.3. How do I get redmine to see it. Seems to still be using v3. Thanks.

Updated by Jean-Baptiste Barth about 16 years ago Actions #6

RedCloth 4 is not supported for the moment, see #6269 ; the patch provided there will just let you boot redmine with redcloth 4, but it's absolutely not functional (you'll have basic textile working, but not the additions from redmine itself, such as autolinking on ticket numbers, wiki pages, etc.)

Updated by Daniel Felix almost 14 years ago Actions #7

  • Status changed from New to Needs feedback

Any news on this? Is this still reproduceable?

Updated by Jean-Philippe Lang almost 14 years ago Actions #8

While this issue still happens with ruby1.8, the text is displayed instantly with ruby1.9.

Updated by Go MAEDA over 11 years ago Actions #9

  • Status changed from Needs feedback to Closed

Jean-Philippe Lang wrote:

While this issue still happens with ruby1.8, the text is displayed instantly with ruby1.9.

Redmine 3.0 dropped Ruby 1.8 support.
We can close this issue.

Updated by Go MAEDA over 11 years ago Actions #10

  • Related to Feature #6239: Separate attachments visually from main wiki content added

Updated by Go MAEDA over 11 years ago Actions #11

  • Related to deleted (Feature #6239: Separate attachments visually from main wiki content)

Updated by Go MAEDA over 11 years ago Actions #12

Actions

Also available in: PDF Atom