<div dir="auto">Hi Ritu</div><div dir="auto"><br></div><div dir="auto">repo-ng is deprecated. Do not use!</div><div dir="auto"><br></div><div dir="auto">Try either of these:</div><div dir="auto"><div><a href="https://www.npmjs.com/package/@ndn/repo-cli">https://www.npmjs.com/package/@ndn/repo-cli</a></div><div><a href="https://pypi.org/project/ndn-python-repo/">https://pypi.org/project/ndn-python-repo/</a></div><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 11, 2020 at 01:44 Ritu Bordoloi <<a href="mailto:bordoloi.ritu1988@gmail.com">bordoloi.ritu1988@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><p style="text-align:center"><font style="color:rgb(255,0,0)"><strong>External Email</strong><br></font></p><div dir="auto"><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Dear Alex and Junxiao, </div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Thank you for your reply. It seems that it is a memory issue, as I can publish small size videos without any issue. </div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">As for the repo, I can see two repo packages <a href="https://github.com/named-data/repo-ng" style="text-decoration-line:none;font-family:arial,sans-serif;color:rgb(66,133,244)" target="_blank">https://github.com/named-data/repo-ng</a> and <a href="https://github.com/JonnyKong/ndn-python-repo" style="text-decoration-line:none;font-family:arial,sans-serif;color:rgb(66,133,244)" target="_blank">https://github.com/JonnyKong/ndn-python-repo</a>. I tried to install <a href="https://github.com/named-data/repo-ng" style="text-decoration-line:none;font-family:arial,sans-serif;color:rgb(66,133,244)" target="_blank">https://github.com/named-data/repo-ng</a>. However, I was getting the following error.</div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><span style="font-size:x-small;font-family:arial,sans-serif">Waf: Entering directory `/home/ritu/Downloads/repo-ng-master/build'</span><br></div><div dir="auto"><font face="arial, sans-serif" size="1" style="font-family:arial,sans-serif;color:rgb(0,0,0)">[ 2/20] Compiling src/handles/read-handle.cpp<br>[ 3/20] Compiling src/repo-command-parameter.cpp<br>In file included from ../src/handles/read-handle.hpp:23:0,<br>                 from ../src/handles/read-handle.cpp:20:<br>../src/common.hpp:31:10: fatal error: ndn-cxx/security/validator.hpp: No such file or directory<br> #include <ndn-cxx/security/validator.hpp><br>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>compilation terminated.<br>Waf: Leaving directory `/home/ritu/Downloads/repo-ng-master/build'<br>Build failed<br> -> task in 'repo-objects' failed with exit status 1 (run with -v to display more information)</font><br></div></div><div dir="auto"><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Can someone give me any idea on this?</div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Thank you in advance.</div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Kind regards,</div><div style="font-family:arial,sans-serif;font-size:small" dir="auto">Ritu </div><div style="font-family:arial,sans-serif;font-size:small" dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 10 Sep 2020, 9:55 am Junxiao Shi, <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div>Hi Ritu Bordoloi </div><div><br></div><div>ndnputchunks is known to consume large amount of memory when publishing a large file. The main reason is that it must buffer all Data packets in memory.</div><div>For a 300MB file, you can expect 1GB memory usage. <a href="https://redmine.named-data.net/issues/4866" rel="noreferrer" target="_blank">https://redmine.named-data.net/issues/4866</a></div><div>If you do not have sufficient memory, publishing will either fail or take a very long time due to usage of swapfile.</div><div><br></div><div>If you just want a producer that publishes files, but do not require all Data packets to be buffered in memory, consider using a repository service.</div><div>For command line use, try <a href="https://github.com/JonnyKong/ndn-python-repo" rel="noreferrer" target="_blank">ndn-python-repo</a> (Python).</div><div>For programmatic/API use, try <a href="https://ndnts-docs.ndn.today/typedoc/modules/repo.html" rel="noreferrer" target="_blank">@ndn/repo package</a> (Node.js).</div><div>Note that repo-ng is deprecated and should not be used in new applications.</div><div><br></div><div>Yours, Junxiao</div></div></blockquote></div></blockquote></div></div>