<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
		<link>https://www.wolfssl.com/forums/topic609-solved-max-amount-of-memory-needed-for-xmallocxrealloc.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic609.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC.]]></description>
		<lastBuildDate>Sun, 15 Feb 2015 10:52:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1932.html#p1932</link>
			<description><![CDATA[<p>Just for completeness: tests show that the max amount of memory allocated in wolfSSL in a singel call via XMALLOC is 17518 bytes (which is 17kB + 110 bytes).</p>]]></description>
			<author><![CDATA[null@example.com (johankleuskens)]]></author>
			<pubDate>Sun, 15 Feb 2015 10:52:58 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1932.html#p1932</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1863.html#p1863</link>
			<description><![CDATA[<p>Thanks Chris!</p>]]></description>
			<author><![CDATA[null@example.com (johankleuskens)]]></author>
			<pubDate>Wed, 17 Dec 2014 07:57:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1863.html#p1863</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1862.html#p1862</link>
			<description><![CDATA[<p>Hi Johan,</p><p>The maximum amount of memory allocated by a SINGLE call to XMALLOC() will be a little over 17kB (17kB + 102 bytes).</p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Wed, 17 Dec 2014 00:16:18 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1862.html#p1862</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1861.html#p1861</link>
			<description><![CDATA[<p>Hi Chris,</p><p>When using XMALLOC, the application specifies the size of the memory that must be allocated. So XMALLOC(100,0,0) will allocate a contiguous memory of 100 bytes. It is the maximum value of this size that i am interrested in. So what is the <strong>maximum</strong> nr of bytes that is allocated via XMALLOC in wolfSSL in <strong>one</strong> call of XMALLOC.</p><p>The reason for my question is this. I have ported wolfSSL to OCTEON. The OCTEON processor can allocate dynamic memory very fast, but is will allocate only a predefined and static amount of memory. So this predefined amount of memory has to be large enough to host te largest amount of memory that will be allocated via wolfSSL. if i now what the largest amount of allocated memory in wolfSSL will be, i can determine the amount of memory that has to be allocated by the OCTEON when executing an allocation of memory.</p><p>Hope this does clear up things.</p><br /><p>Regards,</p><p>Johan Kleuskens</p>]]></description>
			<author><![CDATA[null@example.com (johankleuskens)]]></author>
			<pubDate>Tue, 16 Dec 2014 14:41:17 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1861.html#p1861</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1859.html#p1859</link>
			<description><![CDATA[<p>Hi,</p><p>Can you clarify if you are looking for the total heap usage?&nbsp; Or the heap usage for a single connection?&nbsp; In either case, I think our Resource Use document will be helpful.&nbsp; It should be attached to this post.</p><p>It sounds like you already found our memory abstraction layer (XMALLOC, XREALLOC, etc.).&nbsp; There are a few more details on this in Section 5.1.1.1 of the CyaSSL Manual:</p><p><a href="http://yassl.com/yaSSL/Docs-cyassl-manual-5-portability.html">http://yassl.com/yaSSL/Docs-cyassl-manu … ility.html</a></p><p>Best Regards,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Thu, 11 Dec 2014 23:27:55 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1859.html#p1859</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Max amount of memory needed for XMALLOC/XREALLOC]]></title>
			<link>https://www.wolfssl.com/forums/post1852.html#p1852</link>
			<description><![CDATA[<p>I&#039;m implementing wolfSSL for Octeon, and i need to implement my own malloc() and realloc() function via XMALLOC and XREALLOC. Because a fixed size memory is used for this, i need to know what the maximum amount of allocated memory will we in wolfSSL. Experiments show that untill now the maximum does not exceed 2048 bytes, but it would be nice if you could specify what the maximum amount will be.</p>]]></description>
			<author><![CDATA[null@example.com (johankleuskens)]]></author>
			<pubDate>Tue, 09 Dec 2014 15:57:09 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1852.html#p1852</guid>
		</item>
	</channel>
</rss>
