Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tomtang
Helper III
Helper III

Coundn't cargar los datos para este objeto visual: no hay suficiente memoria para completar esta operación.

Queridos todos,

A continuación encuentro un mensaje de error a mi colega.

Diseñé un libro de Power BI donde mis compañeros pueden actualizar y ver los datos desde su extremo.

Sin embargo, algunos de los objetos visuales que se muestran no se pueden mostrar correctamente.

A continuación se muestran las especificaciones de su portátil:

  • Win10
  • i7
  • 8 gb de RAM

A continuación se muestran algunos de los detalles del mensaje de error, por favor amablemente ayuda a echar un vistazo, gracias!

Tipo de comentarios:

Frown (Error)

Mensaje de error:

Las excepciones de una tarea no se observaron esperando en la tarea o teniendo acceso a su propiedad Exception. Como resultado, el subproceso del finalizador volvió a producir la excepción no observada.

Rastreo de pila:

en System.Threading.CancellationTokenSource.ThrowObjectDisposedException()

en System.Threading.CancellationTokenSource.InternalRegister(Action'1 callback, Object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext)

en System.Threading.CancellationToken.Register(Action'1 callback, Object state, Boolean useSynchronizationContext, Boolean useExecutionContext)

en System.Threading.CancellationToken.Register(Action'1 callback, Object state)

en System.IO.FileStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)

at System.IO.Stream.<CopyToAsyncInternal>d__27.MoveNext()

Mensaje de seguimiento de pila:

Las excepciones de una tarea no se observaron esperando en la tarea o teniendo acceso a su propiedad Exception. Como resultado, el subproceso del finalizador volvió a producir la excepción no observada.

Seguimiento de pila de invocación:

en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()

en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo.. ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)

en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)

en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)

en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()

en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)

en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

en System.Delegate.DynamicInvokeImpl(Object[] args)

en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbacks()

en System.Windows.Forms.Control.WndProc(Message& m)

en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

en Microsoft.Mashup.Client.UI.Windows.DialogWindowBase.ShowModal(IWindowHandle windowHandle)

en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)

en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)

en Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.SimpleDialog.ExpectedErrorDialog.Show(IWindowHandle owner, IUIHost uiHost, LocalizedString title, FeedbackActionInfo info, Boolean displayOnTop, String detailsUrl)

en Microsoft.Mashup.Client.UI.Shared.Ux.WindowService.ShowExpectedErrorDialog(LocalizedString title, FeedbackErrorInfo errorInfo)

en Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass2_0.<<ShowErrorDialog>b__0>d.MoveNext()

en System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)

en Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass2_0.<ShowErrorDialog>b__0()

en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass1_0'1.<SendAndMarshalExceptions>b__0()

en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null)

en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

en System.Delegate.DynamicInvokeImpl(Object[] args)

en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbacks()

en System.Windows.Forms.Control.WndProc(Message& m)

en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

en Microsoft.Mashup.Client.UI.Windows.DialogWindowBase.ShowModal(IWindowHandle windowHandle)

en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)

en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)

en Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_0.<Main>b__1()

en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()

en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

en Microsoft.PowerBI.Client.Program.Main(String[] args)

PowerBINonFatalError:

"AppName":"PBIDesktop","AppVersion":"2.84.981.0","ModuleName":"mscorlib.dll","Component":"System.Threading.CancellationTokenSource","Error":"System.ObjectDisposedException","MethodDef":"ThrowObjectDisposedException","ErrorOffset":"16"

Mensaje de seguimiento InnerException0.Stack:

El CancellationTokenSource se ha eliminado.

Rastreo InnerException0.Stack:

en System.Threading.CancellationTokenSource.ThrowObjectDisposedException()

en System.Threading.CancellationTokenSource.InternalRegister(Action'1 callback, Object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext)

en System.Threading.CancellationToken.Register(Action'1 callback, Object state, Boolean useSynchronizationContext, Boolean useExecutionContext)

en System.Threading.CancellationToken.Register(Action'1 callback, Object state)

en System.IO.FileStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)

at System.IO.Stream.<CopyToAsyncInternal>d__27.MoveNext()

Seguimiento de pila InnerException0.Invocation:

en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()

en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)

en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)

en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)

en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.. ctor(String message, Exception exception, Nullable'1 stackTraceInfo, String messageDetail)

en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)

en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()

en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)

en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

en System.Delegate.DynamicInvokeImpl(Object[] args)

en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbacks()

en System.Windows.Forms.Control.WndProc(Message& m)

en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

en Microsoft.Mashup.Client.UI.Windows.DialogWindowBase.ShowModal(IWindowHandle windowHandle)

en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)

en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)

en Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.SimpleDialog.ExpectedErrorDialog.Show(IWindowHandle owner, IUIHost uiHost, LocalizedString title, FeedbackActionInfo info, Boolean displayOnTop, String detailsUrl)

en Microsoft.Mashup.Client.UI.Shared.Ux.WindowService.ShowExpectedErrorDialog(LocalizedString title, FeedbackErrorInfo errorInfo)

en Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass2_0.<<ShowErrorDialog>b__0>d.MoveNext()

en System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)

en Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass2_0.<ShowErrorDialog>b__0()

en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass1_0'1.<SendAndMarshalExceptions>b__0()

en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null)

en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

en System.Delegate.DynamicInvokeImpl(Object[] args)

en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

en System.Windows.Forms.Control.InvokeMarshaledCallbacks()

en System.Windows.Forms.Control.WndProc(Message& m)

en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

en System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

en Microsoft.Mashup.Client.UI.Windows.DialogWindowBase.ShowModal(IWindowHandle windowHandle)

en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)

en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)

en Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_0.<Main>b__1()

en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()

en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

en Microsoft.PowerBI.Client.Program.Main(String[] args)

Registros de seguimiento de instantáneas:

C:-Usuarios-SupikaT-AppData-Local-Microsoft-Power BI Desktop-FrownSnapShot1567802645.zip

Modo predeterminado del modelo:

Importación

Versión del modelo:

PowerBI_V3

Está habilitado el informe de modelos V3:

Verdad

Registros de seguimiento de rendimiento:

C:-Usuarios-SupikaT-AppData-Local-Microsoft-Power BI Desktop-PerformanceTraces.zip

Funciones de vista previa habilitadas:

PBI_NewWebTableInference

Funciones de vista previa desactivadas:

PBI_shapeMapVisualEnabled

PBI_SpanishLinguisticsEnabled

PBI_ImportTextByExample

PBI_qnaLiveConnect

PBI_inlineExplore

PBI_v3ModelsPreview

PBI_dataSearchCuration

PBI_azureMapVisual

PBI_dataPointLassoSelect

Opciones de DirectQuery deshabilitadas:

TreatHanaAsRelationalSource

Nube:

GlobalCloud

1 ACCEPTED SOLUTION

@tomtang , compruebe la cantidad de RAM y CPU power BI que está tomando. A veces los navegadores web toman mucha memoria. Así que por favor revise y cierre cualquier aplicación que tome mucha memoria.

Guarde los cambios en Power BI también y cierre y abra el archivo de nuevo e intente

View solution in original post

5 REPLIES 5
tomtang
Helper III
Helper III

Adjunto el mensaje de error original

This is the error messageEste es el mensaje de error

@tomtang , compruebe la cantidad de RAM y CPU power BI que está tomando. A veces los navegadores web toman mucha memoria. Así que por favor revise y cierre cualquier aplicación que tome mucha memoria.

Guarde los cambios en Power BI también y cierre y abra el archivo de nuevo e intente

Gracias, voy a comprobar con el usuario final! ¡Déjame probar el enfoque!

Hola @tomtang ,

Puede deberse a que el modelo de datos está demasiado hinchado si no hay otros servicios que ocupen recursos de hardware. Por ejemplo, la tabla de datos es demasiado grande o hay demasiadas consultas...

Además, la configuración de la máquina local es demasiado baja, lo que también es un problema.

Intente hacer referencia a los enlaces.

Diez técnicas para optimizar el uso de memoria en Microsoft Power BI

¿Los problemas de rendimiento de Power BI se deben al alto consumo de memoria?

¿Cómo optimizar el uso de memoria?

Saludos
Lionel Chen

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Gracias por la sugerencia y el artículo. Son muy útiles.

Eventualmente, después de hacer algunas pruebas, creo que el problema viene del tamaño de la RAM en el portátil de mis colegas.

La mayoría de ellos están equipados con 8gb RAM. Con el sistema operativo (Win10) funcionando en segundo plano, el consumo de la RAM supera fácilmente los 8 gb.

Siento poder aceptar una sola solución.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.