To add detail to that, it would be good to clarify what "HEAP size is too high" means - how are you measuring it? Too high compared to what? And same question about the zeros that are mentioned.
On Fri, Feb 1, 2019 at 7:33 AM Shlomi Fish <[email protected]> wrote: > On Fri, 1 Feb 2019 05:27:55 -0800 (PST) > [email protected] wrote: > > > Hi, > > > > > > I am working on implementation of DAWG algorithm in my project. I am > using > > emscripten to convert it into webassembly. > > > > > > Library Link: here <http://code.google.com/p/dawgdic/> > > Code Link: here < > https://demophp.digi-corp.com/nitin/dawg-builder-test.cpp> > > > > > > ./emcc -g test/dawg-builder-test.bc -o dawg.html -s NO_EXIT_RUNTIME=1 -s > > ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", > > "cwrap"]' -g4 -O2 > > > > > > I need to store multiple string of hostnames like this > > "lequipe.fr|ilgiornale.it|sportmediaset.mediaset.it|meteo.it| > ilmessaggero.it|ilmattino.it|today.it|romatoday.it|lavanguardia.com| > lalsace.fr|fussballtransfers.com|lejsl.com|bienpublic.com|dna.fr| > leprogres.fr|ledauphine.com|estrepublicain.fr|vosgesmatin.fr| > footmercato.net|fichajes.com|abc.es|buzzfeed.com|pcworld.es| > buzzfeednews.com|macworld.co.uk|cio.co.uk|computerworlduk.com........" > > > > > > When I load webassembly in javascript and load data then HEAP size > become > > too high..and I see lots of indexes with value 0. > > > > Hi! > > Please see https://github.com/shlomif/how-to-share-code-online and > https://github.com/shlomif/writing-the-perfect-question . > > > > > > > Please help me. > > > > > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > https://github.com/sindresorhus/awesome - curated list of lists > > The only reason some jokes never die is because Chuck Norris is not > interested > in killing them. > — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
