Project

Profile

Help

Bug #5661

closed

SaxonCS command line tools with -t option always report memory usage 0

Added by Martin Honnen over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Command Line
Sprint/Milestone:
Start date:
2022-08-25
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
11, trunk
Fixed in Maintenance Release:
Platforms:
.NET

Description

In various tests with SaxonCS transform or query I find that it outputs a memory usage, but always the value 0 e.g. Memory used: 0Mb.

That is rather confusing (or amazing, but I doubt due to zero memory consumption, seems like a default value being the only "computation" of the used memory).

Actions #1

Updated by Michael Kay over 1 year ago

  • Status changed from New to Resolved
  • Applies to branch trunk added
  • Fix Committed on Branch 11, trunk added

I've changed it to return the value of GC.GetTotalMemory(false);. No idea how useful this is, but at least it's not zero.

Actions #2

Updated by Community Admin over 1 year ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.0 added

Bug issue fix applied in the Saxon 12.0 Major Release. Leaving this bug marked as Resolved until fix applied

Actions #3

Updated by O'Neil Delpratt about 1 year ago

  • Fixed in Maintenance Release 11.5 added

Bug applied in the Saxon 11.5 Maintenance release.

Actions #4

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF