<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">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">ndn-python-repo</a> (Python).</div><div>For programmatic/API use, try <a href="https://ndnts-docs.ndn.today/typedoc/modules/repo.html">@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><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 9, 2020 at 4:25 PM Alexander Wilhelm Lane (awlane) <<a href="mailto:awlane@memphis.edu">awlane@memphis.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p>
This seems to be a putchunks issue- did you review the logs and can you post anything notable? I’m unsure if this would be a specifically Mini-NDN issue, as I’ve had no trouble with transfers of that size in the past.
<div>-Alex <br>
<div><br>
<blockquote type="cite">
<div>On Sep 9, 2020, at 1:42 AM, Ritu Bordoloi via Mini-NDN <<a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a>> wrote:</div>
<br>
<div>
<div dir="auto">
<div style="width:328px;font-family:sans-serif;font-size:12.8px;margin:16px 0px" dir="auto">
<div>
<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:small">Dear All,<br>
</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">I am facing a problem while working on a topology. In my topology, a Producer periodically published video files, and multiple Consumers can request for those published video files. I am using
 "ndnputchunks" to publish the videos and "nlsrc advertise" to add the routing information. I am using "ndncatchunks" to request for the video files.<br>
</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">My problem is when the Producer tries to publish several video files (sizes can vary from 100 Mb to 1GB), some of the video files are not getting published. Can someone give me any idea on this?</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">I am attaching a screenshot of the same for your reference, where the Publisher tried to publish 6 video files, but only 4 of them were published successfully.<br>
</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">Thank you in advance.</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">Kind regards,</div>
<div style="font-family:arial,sans-serif;font-size:small">Ritu<br>
</div>
<div style="font-family:arial,sans-serif;font-size:small"></div>
</div></div></div></div></div></blockquote></div></div></div><br>
</blockquote></div></div>