Skip to content

memory issue for some urls #9

Description

@tpeng

hey, we found following code will make urlclustering use lots of memory and ends up got killed by system. could you take a look? thanks

import urlclustering

lines="""
http://www.digitecno.it/webconference.aspx
http://www.digitecno.it/pec.aspx
http://www.digitecno.it/rss.ashx
http://www.digitecno.it/formainforma/formainforma.aspx?Id=230&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=208&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=231&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/
http://www.digitecno.it/mappasito.aspx
http://www.digitecno.it/login.aspx?ReturnUrl=%2friservata%2fdefault.aspx
http://www.digitecno.it/default.aspx
http://www.digitecno.it/azienda.aspx
http://www.digitecno.it/softwareservizi.aspx
http://www.digitecno.it/educational.aspx
http://www.digitecno.it/assistenza.aspx
http://www.digitecno.it/utility/default.aspx
http://www.digitecno.it/formainforma/formainforma.aspx?Id=156&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=157&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=158&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=153&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=228&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/offerte/offerta.aspx?Id=83&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/offerte/listaofferte.aspx?a=&archi=&cad=&cont=&crm=&da=&des=&edu=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=
http://www.digitecno.it/politicaprivacy/
http://www.digitecno.it/formainforma/listaformainforma.aspx?a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=0
http://www.digitecno.it/formainforma/autodesk.aspx
http://www.digitecno.it/downloadgadget.aspx
http://www.digitecno.it/formainforma/formainforma.aspx?Id=187&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/formainforma.aspx?Id=223&a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
http://www.digitecno.it/formainforma/listaformainforma.aspx?a=&archi=&cad=&cont=&crm=&da=&des=&gest=&gis=&infra=&ing=&mec=&sw=&termo=&testo=&tipo=
"""
c = urlclustering.cluster(lines.splitlines())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions