Search found 304 matches: leak

Return to advanced search

Re: Help with HB_REALLOC ERROR 9009

Run out of memory ? Maybe you can put a part of this code inside the loop en show the result while running. Than you see if there is a memory leak. cErrorLog += "   Hardware memory: " + ;                    cValToChar( Int( nExtMem() / ( 1024 * 1024 ) ) + ...
by Marc Venken
Wed Mar 20, 2024 8:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with HB_REALLOC ERROR 9009
Replies: 5
Views: 1092

Re: Program is frozen

Natter,

It sounds like a memory leak. Check to make sure you have ended all vars at the end of routines.

James
by James Bott
Thu Jun 15, 2023 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Program is frozen
Replies: 14
Views: 503

Re: TWebView:Destroy method does not close the window.

... a possible workaround. The reason it is explained here: https://githubhot.com/repo/MicrosoftEdge/WebView2Feedback/issues/2156 This memory leak happens because the program doesn't enter the message loop. When there is no message loop ICoreWebView2CreateCoreWebView2ControllerCompletedHandler::Invoke() ...
by Antonio Linares
Sat Jul 30, 2022 1:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebView:Destroy method does not close the window.
Replies: 46
Views: 3065

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear Jimmy, Thank you, I got it now. hi Dutch, OK, you have a TIMER and got Property This is the code that I use for looping vdo play. function BuildMPlayer2( oDlg, cFile, nTop, nLeft, nWidth, nHeight )  ...   oActiveX2:url = cFile    try change that line as "last" line this is the...
by dutch
Wed Mar 30, 2022 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear cmsoft, Thank you for your idea. I will try as your suggestion. Hi Dutch, Today I have something like this running a video running in a loop, and it never stops. It is an informative terminal and shows the shifts. Adapt it so you get the idea. I hope it helps you. #include "FiveWin.ch"...
by dutch
Wed Mar 30, 2022 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

hi Dutch, OK, you have a TIMER and got Property This is the code that I use for looping vdo play. function BuildMPlayer2( oDlg, cFile, nTop, nLeft, nWidth, nHeight )  ...   oActiveX2:url = cFile    try change that line as "last" line this is the Place when load/play different Media...
by Jimmy
Wed Mar 30, 2022 6:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Hi Dutch, Today I have something like this running a video running in a loop, and it never stops. It is an informative terminal and shows the shifts. Adapt it so you get the idea. I hope it helps you. #include "FiveWin.ch"#include "layout.ch"#include "xbrowse.ch"STATIC ...
by cmsoft
Wed Mar 30, 2022 3:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear Jimmy, This is the code that I use for looping vdo play. DEFINE DIALOG oDlg SIZE nWndWidth, nWndHeight ;       STYLE nOr( WS_CHILD, WS_POPUP ) ;       COLOR CLR_BLACK, CLR_WHITE ;       FONT oFont60    DEFINE TIMER oDlgCLose INTERVAL 10000 ACTION iif(MEMVAR->lCloseAll, (MEMVA...
by dutch
Wed Mar 30, 2022 1:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

hi Dutch, you can use CLSID "{6BF52A52-394A-11d3-B153-00C04F79FAA6}" or PROGID "WMPlayer.OCX.7" i wonder that it is working with "WMPlayer.OCX" without ".7" --- you need to "destroy" ActiveX oActiveX1 := nil but only when not used any more --- oActiv...
by Jimmy
Tue Mar 29, 2022 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear Antonio, I search in internet and found below. It look better. oActiveX1:url := ""   I will try as your suggestion and compare between below and above. I will let you know the result. Dear Dutch, Please try this: oActiveX1:Settings:setMode("loop",.T.) oActiveX1 := nil T...
by dutch
Tue Mar 29, 2022 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear Jimmy, Thank you for your suggestion. What are different between "WMPlayer.OCX", "WMPlayer.OCX.7" and "{6BF52A52-394A-11d3-B153-00C04F79FAA6}"? It works as the same. hi Dutch, oActiveX1 = TActiveX():New( oDlg, "WMPlayer.OCX", nTop, nLeft, nWidth, nHeight ...
by dutch
Tue Mar 29, 2022 10:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

Dear Dutch,

Please try this:

oActiveX1:Settings:setMode("loop",.T.)
oActiveX1 := nil
by Antonio Linares
Mon Mar 28, 2022 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

Re: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

hi Dutch,
oActiveX1 = TActiveX():New( oDlg, "WMPlayer.OCX", nTop, nLeft, nWidth, nHeight )

i think CLSID must be
Code: Select all  Expand view
"WMPlayer.OCX.7"

or
Code: Select all  Expand view
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"


---
you also can try VLC Player using this CLSID
Code: Select all  Expand view
"VideoLAN.VLCPlugin.2"
by Jimmy
Mon Mar 28, 2022 4:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834

TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak

I've used WMPlayer.OCX to play MP4 file on Windows10. The memory leak after play 10 times from 1xx to 7xx MB. Then the vdo doesn't play anymore. The code is below. How do I release memory used? Thank you in advance for any idea or help. ...ACTIVATE DIALOG ...
by dutch
Mon Mar 28, 2022 3:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TActiveX():New( oDlg, "WMPlayer.OCX" .... ) memory leak
Replies: 11
Views: 834
Next

Return to advanced search