[Nexus One General] BrooklynAvi:
EDIT FOUR: With the introduction of Froyo and the highmem kernel, this is no longer an issue for those who are not rooted. This makes this issue completely and totally fixed. Enjoy.

EDIT THREE: (March 17, 2010) It is clear that this issue is completely fixed. I have experienced a force close here and there but I doubt it's related to this issue.

EDIT TWO: (Feb. 17, 2010) According to Cyanogen and as confirmed by my rigorous testing, this issue appears to have been completely fixed in the latest version of CyanogenMod 5.0.2. I confirmed this is working with and without apps2sd enabled. I tested it in the following manner. I installed over 250 apps. I filled all five of my home screens with widgets (over 25, various sizes), eight folder, tons of icons, etc. I kept it that way for nearly 24 hours, really pushing it and trying to get a force close. All of this was done while using my phone for normal, everyday use. I can honestly say that I tried so hard to get a force close. To my pleasant surprise I did not receive a single force close. For the record, I tested it so much my battery has been through two and a half charges. The stock launcher appears to be working fine. A buddy of mine has confirmed this as well in similar testing, his being done over the course of several days. For the record, the N1 ran incredibly smoothly with no lag (really, no lag at all). Tons of running apps, jammed packed home screens and it held up like a champion. I will continue testing and report back if something changes.

EDIT ONE: A member of the Android development team has confirmed that this is a known issue and will be fixed in a future release of Android. I suspect that once the source code is released that the wonderful developers at XDA will fix it first. Here's the quote:

While I'm not happy about this, and many are simply using alternative home screen apps, I'm thrilled to finally have official confirmation that this is a known issue and will eventually be fixed. Thanks to everyone who sent me their list of apps. It turns out not to be one specific app as I've always suspected.

EDIT 2: After much thought, and after not being able to install all my apps on the phone for which I paid $575 is a bit unacceptable. If Google is aware of that this is an issue then an update should be pushed out immediately. It is unacceptable to tell users (not actually tell them because I had to post an issue in a place I'm sure 99.9% of users will never find) to "uninstall a few apps." Seriously? That's the answer? Imagine Apple told users to "uninstall a few apps." I wonder what hard working developers think of that answer. Actually, since I am one, I can tell you. It sucks. It's not like I have that much space in the first place. Simply ridiculous.

---- Original Post ----

Hey All,

With no Nexus One Q&A section yet, I figure this is the best place to post this since I didn't want to post in the dev section. I am getting a force close on my launcher when I long press a widget. It doesn't happen every time. It usually happens after I wake up the phone. I can replicate on command by repeatedly long-pressing a widget. While it happens on built-in widgets, I can more easily replicate it on third-party widgets (or while third-party widgets are loaded) such as Pure Calendar and Android Agenda Widget. The logcat is below.

E/dalvikvm-heap( 6214): 625920-byte external allocation too large for this process.
E/ ( 6214): VM won't let us allocate 625920 bytes
E/dalvikvm-heap( 6214): 625920-byte external allocation too large for this process.
E/ ( 6214): VM won't let us allocate 625920 bytes
THESE LAST TWO LINES ARE REPEATED ABOUT 50 TIMES
D/AndroidRuntime( 6214): Shutting down VM
W/dalvikvm( 6214): threadid=3: thread exiting with uncaught exception (group=0x4001b178)
E/AndroidRuntime( 6214): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 6214): java.lang.NullPointerException
E/AndroidRuntime( 6214): at android.graphics.Bitmap.createBitmap(Bitmap.java:358)
E/AndroidRuntime( 6214): at com.android.launcher2.DragController.getViewBitmap(DragController.java:258)
E/AndroidRuntime( 6214): at com.android.launcher2.DragController.startDrag(DragController.java:169)
E/AndroidRuntime( 6214): at com.android.launcher2.Workspace.startDrag(Workspace.java:996)
E/AndroidRuntime( 6214): at com.android.launcher2.Launcher.onLongClick(Launcher.java:1528)
E/AndroidRuntime( 6214): at android.view.View.performLongClick(View.java:2383)
E/AndroidRuntime( 6214): at com.android.launcher2.LauncherAppWidgetHostView$CheckForLongPress.run(LauncherAppWidgetHostView.java:81)
E/AndroidRuntime( 6214): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 6214): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 6214): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 6214): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 6214): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 6214): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 6214): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 6214): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 6214): at dalvik.system.NativeStart.main(Native Method)

I/Process ( 78): Sending signal. PID: 6214 SIG: 3
I/dalvikvm( 6214): threadid=7: reacting to signal 3
E/dalvikvm( 6214): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
I/DumpStateReceiver( 78): Added state dump to 1 crashes
W/WindowManager( 78): No window to dispatch pointer action 1
D/NetworkLocationProvider( 78): onCellLocationChanged [52188,72181909]
I/Process ( 6214): Sending signal. PID: 6214 SIG: 9
I/WindowManager( 78): WIN DEATH: Window{44d442a0 SurfaceView paused=false}
I/ActivityManager( 78): Process com.android.launcher2 (pid 6214) has died.
I/WindowManager( 78): WIN DEATH: Window{44c27d48 com.android.launcher2/com.android.launcher2.Launcher paused=false}
I/ActivityManager( 78): Start proc com.android.launcher2 for activity com.android.launcher2/.Launcher: pid=6276 uid=10035 gids={}
D/dalvikvm( 52): GC freed 277 objects / 10560 bytes in 97ms
I/UsageStats( 78): Unexpected resume of com.android.launcher2 while already resumed in com.android.launcher2
D/dalvikvm( 52): GC freed 42 objects / 1856 bytes in 77ms
I/ActivityThread( 6276): Publishing provider com.android.launcher2.settings: com.android.launcher2.LauncherProvider
D/dalvikvm( 52): GC freed 2 objects / 48 bytes in 64ms
V/RenderScript_jni( 6276): createRenderScript
D/dalvikvm( 6276): Trying to load lib /system/lib/librs_jni.so 0x0
I/dalvikvm( 6276): Debugger has detached; object registry had 1 entries
D/dalvikvm( 6276): Added shared lib /system/lib/librs_jni.so 0x0
V/RenderScript( 6276): RS Launching thread
D/dalvikvm( 6276): GC freed 2651 objects / 151768 bytes in 37ms
W/InputManagerService( 78): Got RemoteException sending setActive(false) notification to pid 6214 uid 10035
V/RenderScript_jni( 6276): surfaceCreated
V/RenderScript_jni( 6276): surfaceChanged
V/RenderScript( 6276): setSurface 480 762 0x36bd30
V/RenderScript( 6276): initEGL start
D/libEGL ( 6276): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 6276): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 6276): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 6276): loaded /system/lib/egl/libGLESv2_adreno200.so
V/RenderScript( 6276): GL Version OpenGL ES-CM 1.1
V/RenderScript( 6276): GL Vendor Qualcomm
V/RenderScript( 6276): GL Renderer Adreno
I/ActivityManager( 78): Displayed activity com.android.launcher2/.Launcher: 1057 ms (total 1057 ms)
D/dalvikvm( 6276): GC freed 1902 objects / 173712 bytes in 63ms
I/jdwp ( 6276): Ignoring second debugger -- accepting and dropping
D/dalvikvm( 78): GC freed 21940 objects / 1485992 bytes in 139ms
D/ViewFlipper( 6276): updateRunning() mVisible=false, mStarted=true, mUserPresent=true, mRunning=false
D/ViewFlipper( 6276): updateRunning() mVisible=true, mStarted=true, mUserPresent=true, mRunning=true
D/dalvikvm( 6276): GC freed 12905 objects / 608184 bytes in 52ms
D/dalvikvm( 6276): GC freed 5662 objects / 315688 bytes in 37ms
D/dalvikvm( 6276): GC freed 321 objects / 15168 bytes in 47ms
D/dalvikvm( 6276): GC freed 922 objects / 44992 bytes in 50ms
D/dalvikvm( 6276): GC freed 360 objects / 19328 bytes in 78ms
D/NetworkLocationProvider( 78): onCellLocationChanged [52188,72181908]
D/dalvikvm( 6276): GC freed 1404 objects / 69440 bytes in 71ms
D/dalvikvm( 6276): GC freed 598 objects / 35664 bytes in 73ms
D/dalvikvm( 6276): GC freed 714 objects / 39776 bytes in 70ms
D/dalvikvm( 6276): GC freed 802 objects / 44584 bytes in 61ms

So