Recent posts

#1
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - Today at 08:49:35 AM
and I suppose that a crash that
more or less always happens at the same point
could depend on some memory management problem...
#2
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - Today at 07:50:10 AM
it seems that there are problems with the comboboxes too...

... try to run the attached test...

... unfortunately I can't do many tests (2500)
because after 400 or 500 tests there is a crash !
#3
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - Today at 06:42:01 AM
I loaded and showed this dialog 100 times and calculated the average time taken

and I did this 20 times

and the result is this:

 average : 100
 average : 100
 average : 99
 average : 101
 average : 99
 average : 101
 average : 100
 average : 100
 average : 100
 average : 101
 average : 100
 average : 99
 average : 100
 average : 99
 average : 99
 average : 100
 average : 100
 average : 99
 average : 98
 average : 100


and so, it seems that there is no longer any problem with the Picture Folder

but I agree with you.

There is more.

And I still don't know what it is.

I have to do more tests with other controls.

And I'll let you know

Thanks for everything

ciao
#4
Studio/Dialog Editor / Splitter Control goes wrong
Last post by sysuwzx - Today at 03:04:42 AM
When testing  OpenDCL Studio 9.2.3.1 ENU version, i notice something about Splitter Control works not well.
1.  If double click the splitter, the control brower appears, but it shows the palette.
2.  If select the splitter by single click , it won't choose it. It seems the splitter should be chosen by draw a chosen area, just like select objects by a rectangle in AutoCAD.

By the way, in the menu of OpenDCL , if i click the "About OpenDCL" in HELP, the "About OpenDCL" brower shows the first few rows, which seems abnormal.

Following are the images.
#5
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by owenwengerd - May 24, 2024, 10:34:36 PM
Thanks, I found and fixed a small resource leak during (dcl-Project-Load). I'm not sure this leak is the one you're experiencing, but it was the only one I noticed with your test code. Please test the next development build and let me know if you notice any difference.
#6
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by domenicomaria - May 20, 2024, 04:33:41 AM
Hi Owen

Thanks for your attention.

It seems that the problem is caused by the Picture Folder...

Take a look at the attached test
#7
Runtime/AutoLISP / Re: OpenDCL for 2025?
Last post by smithloo - May 17, 2024, 06:53:54 AM
thanks DW for sharing it
#8
Runtime/AutoLISP / Re: OpenDCL MEMORY MANAGEMENT ...
Last post by owenwengerd - May 16, 2024, 09:44:57 PM
There is no way to know the cause without creating a simple reproducible case and investigating it. I suggest to test with a simple dialog containing only copies of one type of control. If the problem does not reproduce, try other controls until the particular control (or controls) is identified. If it happens with any control type, then it could be a memory leak, or just heap fragmentation causing Windows to start paging to disk. There is no way to guess, it has to be investigated.
#9
Runtime/AutoLISP / OpenDCL MEMORY MANAGEMENT ?
Last post by domenicomaria - May 16, 2024, 08:21:21 AM
I'm writing a fairly complex lisp (which uses OpenDCL) and the ODCL file is very rich in controls.

And I'm testing this software and so I show and then close the ODCL dialog many times.

The first few times everything is fine, i.e. I wait 1 second from the command until the dialogue is shown.

But by repeating this operation many times, many dozens of times,
the time between the command I enter in the Acad command line
and when the ODCL dialog is shown ALWAYS INCREASES.

So much so that sometimes I have to wait up to 20 seconds before the dialogue is shown.

Each time the dialogue is reloaded:
(dcl-project-load #ddiim-prj t)

And I think it's an OpenDCL MEMORY MANAGEMENT problem

It's possible ?
#10
Runtime/AutoLISP / Re: Help error Autocad 2024
Last post by mclisp - May 01, 2024, 11:08:04 AM
false alarm, I don't know what I did but it works now
solved thanks