Bis gestern funktionierte meine Anwendung einwandfrei, aber aus irgendeinem Grund musste ich dieselbe Anwendung mit einem anderen Arbeitsbereich in Android Studio öffnen. Wenn ich von da an versuche, die App auszuführen, erhalte ich die folgende Ausnahme. Ich habe also das neu erstellte Arbeitstempo entfernt, aber es bleibt immer noch die folgende fette Ausnahme bestehen.
Throwing OutOfMemoryError "Failed to allocate a 170 byte allocation with 74 free bytes and 74B until OOM" (recursive case)
"main" prio=5 tid=1 Runnable
| group="main" sCount=0 dsCount=0 obj=0x74430970 self=0xb4606800
| sysTid=1905 nice=0 cgrp=apps sched=0/0 handle=0xb777c160
| state=R schedstat=( 0 0 0 ) utm=83 stm=36 core=0 HZ=100
| stack=0xbf15b000-0xbf15d000 stackSize=8MB
| held mutexes= "mutator lock"(shared held)
at java.lang.String.(String.java:233)
at java.lang.String.(String.java:191)
at java.io.ByteArrayOutputStream.toString(ByteArrayOutputStream.java:175)
at java.util.jar.ManifestReader.readValue(ManifestReader.java:181)
at java.util.jar.ManifestReader.readHeader(ManifestReader.java:107)
at java.util.jar.ManifestReader.readEntries(ManifestReader.java:59)
at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:311)
at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:268)
at java.util.jar.JarFile.getInputStream(JarFile.java:380)
at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222)
at java.net.URL.openStream(URL.java:470)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444)
at java.lang.Class.getResourceAsStream(Class.java:1334)
at com.google.m.a.a.a.a(unavailable:-1)
at com.google.m.a.a.a.a(unavailable:-1)
at com.google.maps.api.android.lib6.b.e.(unavailable:-1)
at com.google.maps.api.android.lib6.b.e.(unavailable:-1)
at com.google.maps.api.android.lib6.b.e.a(unavailable:-1)
at com.google.maps.api.android.lib6.c.dz.a(unavailable:-1)
[ 03-30 11:13:03.162 1905: 1914 I/art ]
Clamp target GC heap from 64MB to 64MB
--------- beginning of crash
03-30 11:13:03.179 1905-1905/com.example.myothermap E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.myothermap, PID: 1905
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
Bis gestern funktionierte meine Anwendung einwandfrei, aber aus irgendeinem Grund musste ich dieselbe Anwendung mit einem anderen Arbeitsbereich in Android Studio öffnen. Wenn ich von da an versuche, die App auszuführen, erhalte ich die folgende Ausnahme. Ich habe also das neu erstellte Arbeitstempo entfernt, aber es bleibt immer noch die folgende fette Ausnahme bestehen.
[code] Throwing OutOfMemoryError "Failed to allocate a 170 byte allocation with 74 free bytes and 74B until OOM" (recursive case) "main" prio=5 tid=1 Runnable | group="main" sCount=0 dsCount=0 obj=0x74430970 self=0xb4606800 | sysTid=1905 nice=0 cgrp=apps sched=0/0 handle=0xb777c160 | state=R schedstat=( 0 0 0 ) utm=83 stm=36 core=0 HZ=100 | stack=0xbf15b000-0xbf15d000 stackSize=8MB | held mutexes= "mutator lock"(shared held) at java.lang.String.(String.java:233) at java.lang.String.(String.java:191) at java.io.ByteArrayOutputStream.toString(ByteArrayOutputStream.java:175) at java.util.jar.ManifestReader.readValue(ManifestReader.java:181) at java.util.jar.ManifestReader.readHeader(ManifestReader.java:107) at java.util.jar.ManifestReader.readEntries(ManifestReader.java:59) at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:311) at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:268) at java.util.jar.JarFile.getInputStream(JarFile.java:380) at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222) at java.net.URL.openStream(URL.java:470) at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444) at java.lang.Class.getResourceAsStream(Class.java:1334) at com.google.m.a.a.a.a(unavailable:-1) at com.google.m.a.a.a.a(unavailable:-1) at com.google.maps.api.android.lib6.b.e.(unavailable:-1) at com.google.maps.api.android.lib6.b.e.(unavailable:-1) at com.google.maps.api.android.lib6.b.e.a(unavailable:-1) at com.google.maps.api.android.lib6.c.dz.a(unavailable:-1)
[ 03-30 11:13:03.162 1905: 1914 I/art ] Clamp target GC heap from 64MB to 64MB
--------- beginning of crash 03-30 11:13:03.179 1905-1905/com.example.myothermap E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.myothermap, PID: 1905 java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available [/code]
Ich bin ein Problem mit WhatsApp -API -Setup. Ich habe hier bereits gefragt, aber jetzt gehe ich viel tiefer in das Problem und gebe Ihnen eine replizierbare Lösung in Python. Br />import requests...