만들고 있는 어플이 랜드/포트 둘다 지원하게 되어서 질문드립니다.

피벗 전환시 onCreate까지 모두 타서 쓰레드 관리나 여러 면에서 문제가 생겨

android:configChanges="orientation|keyboardHidden"

속성을 주어 해당 루틴 타지 않고 onConfigurationChanged 만 타도록 했습니다.

이렇게 하면 이미지 들을 그냥 늘려쓰는 문제가 생겨

setContentView로 다시 레이아웃 배치하고 해당 레이아웃들 다시 할당해주었더니 문제가 발생하네요..

두세번 전환하면 죽습니다..

아래와 같은 로그캣이 찍힙니다... 대충 보아하니 Drawable이 해제 안되어서 그런건가요?ㅠㅠ
setContentView로 다시 배치하는건 위험한 건가욤...

10-25 02:54:29.355: ERROR/AndroidRuntime(1099): android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.parseInclude(LayoutInflater.java:679)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:614)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.app.Activity.setContentView(Activity.java:1622)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at com.diotek.fingerpop.ui.MemoCanvas.onConfigurationChanged(MemoCanvas.java:935)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.app.ActivityThread.performConfigurationChanged(ActivityThread.java:3734)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.app.ActivityThread.handleConfigurationChanged(ActivityThread.java:3803)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1936)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.os.Handler.dispatchMessage(Handler.java:99)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.os.Looper.loop(Looper.java:123)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.app.ActivityThread.main(ActivityThread.java:4363)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at java.lang.reflect.Method.invokeNative(Native Method)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at java.lang.reflect.Method.invoke(Method.java:521)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at dalvik.system.NativeStart.main(Native Method)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099): Caused by: java.lang.reflect.InvocationTargetException
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.widget.RelativeLayout.<init>(RelativeLayout.java:171)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at java.lang.reflect.Constructor.constructNative(Native Method)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     ... 22 more
10-25 02:54:29.355: ERROR/AndroidRuntime(1099): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:447)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.content.res.Resources.loadDrawable(Resources.java:1705)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.View.<init>(View.java:1850)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.View.<init>(View.java:1799)
10-25 02:54:29.355: ERROR/AndroidRuntime(1099):     at android.view.ViewGroup.<init>(ViewGroup.java:284)