common-workflow-language / schema_salad

Semantic Annotations for Linked Avro Data

Home Page:https://www.commonwl.org/v1.2/SchemaSalad.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

memory leak

mr-c opened this issue · comments

Tester from @GlassOfWhiskey (using cwl-utils)

#!/usr/bin/env python

import objgraph
import sys

import cwl_utils.parser
   
for _ in range(5):
   growth = objgraph.growth(limit=50)
   cwl_utils.parser.load_document_by_uri(sys.argv[1])
objgraph.show_growth(limit=50)

# growth = objgraph.growth(limit=50)
# assert len(growth) == 0

python memleak.py cwl-v1.2/tests/formattest2.cwl # or any CWL file

Fixed in 88a14b7 !!!