This method works. Thank you.

On Monday, May 1, 2017 at 9:22:51 AM UTC+8, Weave Bytes wrote:
>
> To Kim & Avtar,
>
> We can do 2 things.
>
> 1. edit $HOME/.jack-server/config.properties
>
> and set jack.server.max-service=1
>
> 2. export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 
> -XX:+TieredCompilation -Xmx2G"
> ./prebuilts/sdk/tools/jack-admin kill-server
> ./prebuilts/sdk/tools/jack-admin start-server
>
> I hope this helps.
>
> Thanks,
> N. Singh
>
> On Friday, 26 August 2016 20:51:29 UTC+5:30, Avtar Singh wrote:
>>
>> Kim,
>>
>> It is most likey to do with the memory. Try bumping RAM as mentioned by 
>> mexanicteam below. I do remember running into this problem, and I recall 
>> bumping up the RAM but I also recall reducing the number of simultaneous 
>> threads in jack-server. I can't recall the exact fix. However, what I had 
>> done was go through the readme-docs provided in the jack-server folder and 
>> play around with the settings they had mentioned.
>>
>> - Avtar
>>
>> On Thu, Aug 25, 2016 at 1:51 PM, Валерий Тихомиров <[email protected]> 
>> wrote:
>>
>>> Hi, try this:
>>>
>>> # Use 7GB RAM for Jack Server -1GB from 8GB
>>> export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 
>>> -XX:+TieredCompilation -Xmx7000m"
>>> # Killing...
>>> out/host/linux-x86/bin/jack-admin kill-server
>>> # Starting...
>>> out/host/linux-x86/bin/jack-admin start-server
>>>
>>>
>>>
>>> On Friday, December 4, 2015 at 10:45:02 PM UTC+4, Kim Schulz wrote:
>>>>
>>>> I am trying to build AOSP master, but the new JACK-server is giving me 
>>>> a hard time. 
>>>> During build I hit this:
>>>> [  0% 4/21058] /bin/bash -c "(true) && 
>>>> (out/host/linux-x86/bin/jack-admin install-server 
>>>> out/host/linux-x86/framework/jack-launcher.jar 
>>>> out/host/linux-x86/framework/jack-server.jar  2>&1 || (exit 0)) && 
>>>> (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" 
>>>> out/host/linux-x86/bin/jack-admin start-server 2>&1 || exit 0) && 
>>>> (out/host/linux-x86/bin/jack-admin update server 
>>>> out/host/linux-x86/framework/jack-server.jar 4.1.ALPHA 2>&1 || exit 0) && 
>>>> (out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack--1.1.PRE_ALPHA.jar -1.1.PRE_ALPHA || exit 
>>>> 47; out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack--1.2.PRE_ALPHA.jar -1.2.PRE_ALPHA || exit 
>>>> 47; out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack-2.24.RELEASE.jar 2.24.RELEASE || exit 47; 
>>>> out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack-3.7.ALPHA.jar 3.7.ALPHA || exit 47) && 
>>>> (mkdir -p out/host/linux-x86/obj/EXECUTABLES/jack_intermediates/) && 
>>>> (out/host/linux-x86/bin/acp -fp prebuilts/sdk/tools/jack 
>>>> out/host/linux-x86/obj/EXECUTABLES/jack_intermediates/jack)"
>>>> *FAILED*: /bin/bash -c "(true) && (out/host/linux-x86/bin/jack-admin 
>>>> install-server out/host/linux-x86/framework/jack-launcher.jar 
>>>> out/host/linux-x86/framework/jack-server.jar  2>&1 || (exit 0)) && 
>>>> (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" 
>>>> out/host/linux-x86/bin/jack-admin start-server 2>&1 || exit 0) && 
>>>> (out/host/linux-x86/bin/jack-admin update server 
>>>> out/host/linux-x86/framework/jack-server.jar 4.1.ALPHA 2>&1 || exit 0) && 
>>>> (out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack--1.1.PRE_ALPHA.jar -1.1.PRE_ALPHA || exit 
>>>> 47; out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack--1.2.PRE_ALPHA.jar -1.2.PRE_ALPHA || exit 
>>>> 47; out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack-2.24.RELEASE.jar 2.24.RELEASE || exit 47; 
>>>> out/host/linux-x86/bin/jack-admin update jack 
>>>> prebuilts/sdk/tools/jacks/jack-3.7.ALPHA.jar 3.7.ALPHA || exit 47) && 
>>>> (mkdir -p out/host/linux-x86/obj/EXECUTABLES/jack_intermediates/) && 
>>>> (out/host/linux-x86/bin/acp -fp prebuilts/sdk/tools/jack 
>>>> out/host/linux-x86/obj/EXECUTABLES/jack_intermediates/jack)"
>>>> Jack server already installed in "/home/kschulz/.jack-server"
>>>> *Communication error with Jack server (58), try other ports or see Jack 
>>>> server log*
>>>> *Failed to contact Jack server: Problem reading 
>>>> /home/kschulz/.jack-server/client.pem*
>>>> *Failed to contact Jack server: Problem reading 
>>>> /home/kschulz/.jack-server/client.pem*
>>>>
>>>>
>>>> I have searched to try to find a solution for this but no one else seem 
>>>> to have discussed this problem yet. 
>>>>
>>>> I have tested on Ubuntu 13, 14 and 15 without luck (all of which worked 
>>>> fine before moving to Jack). 
>>>>
>>>>
>>>> anyone that has an idea as to how I get by this problem ? 
>>>>
>>>> thanks 
>>>>
>>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-building?hl=en
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Building" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to