Project

General

Profile

Bug #1764

Verbosity messages: avoid printing BIG values

Added by John Abbott 7 months ago. Updated 3 days ago.

Status:
In Progress
Priority:
Low
Assignee:
-
Category:
Improving
Target version:
Start date:
07 Oct 2023
Due date:
% Done:

10%

Estimated time:
Spent time:

Description

We should ensure that verbosity messages never try to print BIG values.

I'm trying to compute the radical of a large ideal, and the first verbosity(99) message prints out the ideal (about 240Mbytes).

Also the other day I removed some verbosity messages from inside a loop (which could perform thousands of iterations).

Remember that even if verbosity level is 0 the conversion of the values to printable form is still performed!
(you could argue that that is a bug in the design...)

History

#1 Updated by John Abbott 3 months ago

  • Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880

#2 Updated by John Abbott 3 months ago

Here is a list of files which have been checked (so that we do not repeatedly check them):
  • ApproxPts2.C
  • END

#3 Updated by John Abbott 3 days ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Low
  • % Done changed from 0 to 10

As hinted in the main description, we should also try to limit the amount of output (unless it is important to be able to see it, sometimes).
We can also use the clumsier *if (VerbosityLevel() >= 90) { /*print info*/ }

Also available in: Atom PDF