Status Update
Comments
ma...@google.com <ma...@google.com> #2
Thank you for the report.
When the compile time fluctuate this much, it could be caused by the JVM getting close to max memory and the GC portion of the compile time goes up.
As you have a dump, then you can easily reproduce the same build with different settings using tools/compiledump.py
. tools/compiledump.py
use the curl -O https://storage.googleapis.com/r8-releases/raw/8.3.35/r8lib.jar
(for version 8.3.35), and then add --r8-jar r8lib.jar
to the commands below. The commands all pass -da
which disables assertions. tools/compiledump.py
enabled assertions by default, but that makes compilation even slower, and AGP does not do that.
- Are you seeing the same loooooong compile time locally when running
tools/compiledump.py -da -d <dump>
? - If so you can try to pass the
-verbose:gc
to the JVM when running, should be doable like this:tools/compiledump.py -da -J=-verbose:gc -d <dump>
. Seems like the output is not streamed so you will have to wait for the command to finish. - If that shows massive GC, you can try different heap sizes, to see if changing that affects compilation time, e.g. like this:
tools/compiledump.py -da --xmx 8G -J=-verbose:gc -d <dump>
If possible you can share the dump privately with
Description
# It is OK to share your API Project ID, but _not_ API keys.
Feature Request
-----------------------
What would you like to see us add to this API?
HI Team,
we have a scenario, where we would like to know the language of the output response from Geocoding API.
we are dealing with multiple countries to cleanse the addresses. currently we are working on Belgium address, where Belgium has 3 native language based on the region.(Dutch, German and french).
so we would like to know, the language of the addresses which it returns.
example:
input address is :- Gulden Koornstraat 265 Sint-Agatha-Berchem 1082 Belgium
Google api response is :- Rue du Blé d'Or, 1082 Berchem-Sainte-Agathe, Belgium
So if you observe input address is in Dutch
but output address returned in French (Region Sint-Agatha-Berchem can have either NL or FR)
it would be great if we have an option, where we can identify the output language.