Project

General

Profile

Bug #3495

Space blow-up in cxx

Added by Michael Sweatt over 4 years ago. Updated over 4 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/02/2016
Due date:
% Done:

0%

Estimated time:

Description

When building a large number of data packets,signing them, and getting the Names.
10M of Names uses 4G of memory.

We determined the cause being that the Names maintain references to their underlying Data, which can be reduced by calling wireEncode().

Discussed locally and determined intentional. Posting here for posterity sake.

Attached is a small code snippet that demonstrates the issue.


Files

memory_test.t.cpp (2.58 KB) memory_test.t.cpp little test Michael Sweatt, 03/02/2016 10:32 AM

Also available in: Atom PDF