Hi Joshua,

The issue seems to be in the way to build a proxy for future caching of the
Android model (the purpose is to, ironically, improve performance of the
IDE).

I'll investigate this issue and I'll keep this thread updated with any
progress.

Regards,
-Alex

On Fri, Jul 17, 2015 at 6:58 AM, Joshua Soberg <[email protected]>
wrote:

> I tried modifying the values in my studio64.exe.vmoptions file, and
> setting large enough values seemed to remedy the problem. Here are the
> settings that I am using for reference (The machine I'm using has 16GB of
> RAM):
>
> -Xms1g
> -Xmx10g
> -XX:MaxPermSize=1g
> -XX:ReservedCodeCacheSize=512m
>
>
>
> On Friday, July 10, 2015 at 5:17:14 PM UTC-4, Joshua Soberg wrote:
>
>>     I have a project consisting of roughly 172 separate modules. When I
>> attempt to open the project, Android studio appears to lock up indefinitely
>> when initially building in gradle. When building this project from the
>> command line, it builds without a problem (albeit taking ~10 minutes
>> sometimes, which is somewhat expected when dealing with a project this
>> size).
>>
>>     I have attached two thread dumps from the Android Studio process
>> (using jvisualvm), taken about 40 minutes apart from each other. There are
>> a few similarities in these thread dumps, but one thread in particular
>> seemed to have an interestingly long chain of recursive calls that was
>> (almost) the same in both dumps:
>> "ApplicationImpl pooled thread 6" prio=4 tid=0x0000000019284000
>> nid=0x42f4 runnable [0x000000001eccd000]
>>    java.lang.Thread.State: RUNNABLE
>> ...
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:94)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:94)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:94)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:94)
>> at
>> com.android.tools.idea.gradle.util.ProxyUtil.reproxy(ProxyUtil.java:143)
>> at
>> com.android.tools.idea.gradle.IdeaAndroidProject.<init>(IdeaAndroidProject.java:91)
>> at
>> com.android.tools.idea.gradle.project.AndroidGradleProjectResolver.populateModuleContentRoots(AndroidGradleProjectResolver.java:137)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.doResolveProjectInfo(GradleProjectResolver.java:262)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.access$300(GradleProjectResolver.java:63)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:350)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver$ProjectConnectionDataNodeFunction.fun(GradleProjectResolver.java:322)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:215)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:95)
>> at
>> org.jetbrains.plugins.gradle.service.project.GradleProjectResolver.resolveProjectInfo(GradleProjectResolver.java:63)
>> ...
>>
>>
>>     After about an hour or so of trying to let it build, Android Studio
>> will eventually actually freeze up and leave the only option being to close
>> it (up until this point, the loading dialog is still running). If anyone
>> has any ideas as to why this might be locking up indefinitely, it would be
>> greatly appreciated.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" 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 Google Groups 
"adt-dev" 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