You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is one area of the tool that can cause heap exhaustion when profiling over a large number of documents. In stream.js's addToType:
// recurse into arrays by calling `addToType` for each elementif(typeName==='Array'){type.types=type.types||{};type.lengths=type.lengths||[];type.lengths.push(value.length);// <-- Grows without boundvalue.forEach(v=>addToType(path,v,type.types));
It would be useful to have an option that would skip this, use a reservoir, or somehow cap the collection of lengths.
The text was updated successfully, but these errors were encountered:
I believe this is one area of the tool that can cause heap exhaustion when profiling over a large number of documents. In
stream.js
'saddToType
:It would be useful to have an option that would skip this, use a reservoir, or somehow cap the collection of lengths.
The text was updated successfully, but these errors were encountered: