<div dir="ltr">My laptop is macbook pro mid 2012, 8G ram, intel i5 2.5GHz.<div>I will try that. :)</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 27, 2016 at 4:53 PM Peter Palaga &lt;<a href="mailto:ppalaga@redhat.com">ppalaga@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Austin, inline...<br>
<br>
On 2016-05-27 05:29, Austin Kuo wrote:<br>
&gt; Hi all,<br>
&gt; I’m currently trying to report vertx instance to inventory, therefore I<br>
&gt; am doing some experiments that is communicating to the server with REST<br>
&gt; API. Wondering if there’s a way not to run an entire hawkular server<br>
&gt; (because i’m working on my laptop) but the inventory component alone?<br>
<br>
Yes, that&#39;s exactly what we do when running Inventory integration tests.<br>
<br>
If you build Inventory with<br>
<br>
   maven clean install -Pitest<br>
<br>
you can find a ready-to-run minimalistic Hawkular with just Inventory<br>
and nothing else in<br>
hawkular-inventory/hawkular-inventory-itest/target/hawkular-inventory-itest-*<br>
directory.<br>
<br>
The user &quot;jdoe&quot; with password &quot;password&quot; is there in the distro.<br>
<br>
The distro uses the embedded Cassandra by default, that we tried to make<br>
as resource-minimalistic as possible too.<br>
<br>
If you still face the shortage of system resources with this distro (or<br>
even when building it), you probably need to increase some of the ulimit<br>
(linux/mac) settings. These are limits on my laptop:<br>
<br>
[ppalaga@slama ~]$ ulimit -a<br>
core file size          (blocks, -c) 0<br>
data seg size           (kbytes, -d) unlimited<br>
scheduling priority             (-e) 0<br>
file size               (blocks, -f) unlimited<br>
pending signals                 (-i) 62872<br>
max locked memory       (kbytes, -l) 64<br>
max memory size         (kbytes, -m) unlimited<br>
open files                      (-n) 1024<br>
pipe size            (512 bytes, -p) 8<br>
POSIX message queues     (bytes, -q) 819200<br>
real-time priority              (-r) 0<br>
stack size              (kbytes, -s) 8192<br>
cpu time               (seconds, -t) unlimited<br>
max user processes              (-u) 62872<br>
virtual memory          (kbytes, -v) unlimited<br>
file locks                      (-x) unlimited<br>
<br>
<br>
Good luck,<br>
<br>
-- Peter<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</blockquote></div>