Re: [rvm-research] malloc returned an address that is inside RVM address space
Michael Bond <[email protected]> Sun, 23 Feb 2020 16:57:28 -0500
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============5616292257116683509==
Content-Type: multipart/alternative;
boundary="------------A8CE2EAD01A7519EAFCF77FA"
Content-Language: en-US
--------------A8CE2EAD01A7519EAFCF77FA
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Hi Khaled,
I think this might be because the virtual memory space hardcoded to be
used MMTk is also getting mapped by C library stuff.
You could try one or both of the following:
(1) Try to reserve the virtual memory eagerly by running with
-X:gc:eagerMmapSpaces=true
(2) Adjust the virtual memory ranges in the appropriate config file
build/targets/??.properties
Cheers,
Mike
On 2/22/20 12:26 AM, Khaled Z Mahmoud wrote:
> Hi,
>
> I am getting the below error when I use malloc from system call.
> "malloc returned an address that is inside RVM address space"
>
> Any ideas or solution ?
>
> -- Regards, Khaled Mahmoud
--------------A8CE2EAD01A7519EAFCF77FA
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Khaled,<br>
<br>
I think this might be because the virtual memory space hardcoded to
be used MMTk is also getting mapped by C library stuff.<br>
<br>
You could try one or both of the following:<br>
<br>
(1) Try to reserve the virtual memory eagerly by running with
-X:gc:eagerMmapSpaces=true<br>
<br>
(2) Adjust the virtual memory ranges in the appropriate config file
build/targets/??.properties<br>
<br>
Cheers,<br>
Mike<br>
<br>
<div class="moz-cite-prefix">On 2/22/20 12:26 AM, Khaled Z Mahmoud
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAER=_eWvU7=5Kezu45bSY9Q=2CrTKacsffFnc-=TQfwu9R090A@mail.gmail.com">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre class="moz-quote-pre" wrap="">Hi,
I am getting the below error when I use malloc from system call.
"malloc returned an address that is inside RVM address space"
Any ideas or solution ?
<div class="moz-txt-sig">--
Regards,
Khaled Mahmoud
</div></pre>
</div>
</blockquote>
<br>
</body>
</html>
--------------A8CE2EAD01A7519EAFCF77FA--
--===============5616292257116683509==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5616292257116683509==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
--===============5616292257116683509==--