Assigned
Status Update
Comments
ca...@google.com <ca...@google.com> #2
Solved for now by adding @SuppressWarnings
. We'll need to revisit if this pops up again.
Ideas include:
- Whack-a-mole overrides via NullAway Library Models
- Have an custom extract_only=true on the upstream aar targets so that they cannot be accidentally used, and then use the extracted classes.jar files only in the errorprone classpath.
la...@gmail.com <la...@gmail.com> #3
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">1. The behaviour is that it causes an out of memory condition. </div><div dir="ltr">2. I haven't tested in previous IOS versions but it did occur with both googlemap sdk version 7 and 8. </div><div dir="ltr">3. It occurred on all iPhone models. </div><div dir="ltr">4. 100% of the time. </div><div dir="ltr">5. There is no stack trace. Out of memory. </div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Apr 11, 2024, at 12:51 AM, buganizer-system@google.com wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div itemscope="" itemtype="http://schema.org/EmailMessage "><div style="background-color: #fbe983; border: 1px solid #debe07; color: #594c04; font-weight: bold; padding: 5px 10px;">Replying to this email means your email address will be shared with the team that works on this product.</div><a href="https://issuetracker.google.com/issues/333670359 ">https://issuetracker.google.com/issues/333670359 </a><br><br><strong>Changed</strong><br><span style="color: #808080;">status: </span>New → Assigned<br><span style="color: #808080;">assignee: </span><none> → ca...@google.com<br><br><span itemprop="text"><strong>ca...@google.com added <a href="https://issuetracker.google.com/issues/333670359#comment2 " target="_blank"> comment #2 </a>:</strong><br><p>Thank you for the post.</p>
<p>Kindly provide additional details for further checking.</p>
<ul>
<li>Actual behavior:
<ul>
<li>Screenshots or video of the issue:</li>
</ul>
</li>
<li>Was this working correctly on a previous version? If yes, which SDK versions?</li>
<li>Are there iOS versions or iPhone models where the issue does not happen?</li>
<li>How often is the issue observed? (for example, 100%, 10%, any specific users, any specific regions etc.)</li>
<li>Complete stacktrace when the issue occurs:</li>
</ul>
</span><br>_______________________________<div itemprop="about" itemscope="" itemtype="http://schema.org/CreativeWork "><span itemprop="potentialAction" itemscope="" itemtype="http://schema.org/ViewAction "><meta itemprop="url" content="https://issuetracker.google.com/issues/333670359 "><meta itemprop="name" content="Open bug"></span><br><strong>Reference Info: 333670359 Applying GMSStyleSpans to many polylines causes out of memory on iPhone </strong><br></div><span style="color: #808080;">component: </span><a href="https://issuetracker.google.com/components/188833 " target="_blank">Public Trackers > Google Maps Platform > Maps SDK for iOS</a><br><span style="color: #808080;">status: </span>Assigned<br><span style="color: #808080;">reporter: </span>larry.dunkelman@gmail.com<br><span style="color: #808080;">assignee: </span>ca...@google.com<br><span style="color: #808080;">cc: </span>larry.dunkelman@gmail.com<br><span style="color: #808080;">type: </span>Bug<br><span style="color: #808080;">access level: </span>Default access<br><span style="color: #808080;">priority: </span>P4<br><span style="color: #808080;">severity: </span>S4<br><span style="color: #808080;">retention: </span>Component default<br><br><br>Generated by Google IssueTracker notification system.<br><br><span style="color: #808080;">You're receiving this email because you are subscribed to updates on Google IssueTracker issue <a href="https://issuetracker.google.com/issues/333670359 " target="_blank">333670359</a> where you have the roles: cc, reporter<br><a href="https://issuetracker.google.com/issues/333670359?unsubscribe=true " target="_blank">Unsubscribe from this issue.</a></span></div></div></blockquote></body></html>
<p>Kindly provide additional details for further checking.</p>
<ul>
<li>Actual behavior:
<ul>
<li>Screenshots or video of the issue:</li>
</ul>
</li>
<li>Was this working correctly on a previous version? If yes, which SDK versions?</li>
<li>Are there iOS versions or iPhone models where the issue does not happen?</li>
<li>How often is the issue observed? (for example, 100%, 10%, any specific users, any specific regions etc.)</li>
<li>Complete stacktrace when the issue occurs:</li>
</ul>
</span><br>_______________________________<div itemprop="about" itemscope="" itemtype="
[Deleted User] <[Deleted User]> #4
Muito obrigado pela ajuda.
Tenha um ótimo dia
Description
===========================================================================================
#REMINDER: Please do not disclose any possible PII such as: email address, IP, contact number, any part of name, project numbers and billing accounts as these information may violate security and privacy. Comments or attachments that include PII will be removed and restricted from public viewing.
Furthermore, please refrain from replying to a comment as this will make your email address visible. Instead, you may use the Issue Tracker’s comment feature for your replies.
It is OK to share your API Project ID, but _not_ API keys or client ID credentials.
To learn more about personal data, visit
===========================================================================================
What is the incorrect behavior that you are experiencing?
IOS App experiences an out of memory condition when many (>30) polylines are added to a map with GMSStyleSpans added to each polyline. When no GMSStyleSpans are added, the app behaves normally.
With GMSStyleSpans the app memory grows from 200MB to 2GB before crashing with out of memory.
What should happen instead?
Out of memory should not occur.
Link to the Demo application[1] that reproduces the problem:
Steps to reproduce the problem:
1. Create 100 polylines with GMSStyleSpans.
2. memory usage grows until app crashes
3.
Operating system version: IOS 17.4.1
Google Maps SDK for iOS version: 8.4.0
Hardware model: iPhone 13
-------------------------------------------------------------------
[1] You can fork