Enable the android:largeHeap flag
- With large accounts (such as mine), Conversations starts hitting up against the default heap limit pretty quickly, at which point it grinds to a halt as GC pause times increase. - Furthermore, it's impossible to complete a backup with such an account, since Conversations will just run out of memory before the backup can complete. - Enabling the `android:largeHeap` flag asks the OS for a bit more memory, which hopefully alleviates the problem for larger accounts.
This commit is contained in:
		
							parent
							
								
									fc53271212
								
							
						
					
					
						commit
						0c563134da
					
				@ -59,6 +59,7 @@
 | 
				
			|||||||
        android:hardwareAccelerated="true"
 | 
					        android:hardwareAccelerated="true"
 | 
				
			||||||
        android:icon="@mipmap/new_launcher"
 | 
					        android:icon="@mipmap/new_launcher"
 | 
				
			||||||
        android:label="@string/app_name"
 | 
					        android:label="@string/app_name"
 | 
				
			||||||
 | 
					        android:largeHeap="true"
 | 
				
			||||||
        android:networkSecurityConfig="@xml/network_security_configuration"
 | 
					        android:networkSecurityConfig="@xml/network_security_configuration"
 | 
				
			||||||
        android:requestLegacyExternalStorage="true"
 | 
					        android:requestLegacyExternalStorage="true"
 | 
				
			||||||
        android:theme="@style/ConversationsTheme"
 | 
					        android:theme="@style/ConversationsTheme"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user