CnPack Forum


 
Subject: Uses cleaner not working
leobruno
新警察
Rank: 1



UID 433005
Digest Posts 0
Credits 28
Posts 8
点点分 28
Reading Access 10
Registered 2017-11-24
Status Offline
Post at 2020-6-19 21:05  Profile | Blog | P.M. 
Uses cleaner not working

I?m trying to run the uses cleaner on the project. (opt All Units in Current Project(3))<br />
The clean process starts to run, but after a few seconds, nothing happens.<br />
<br />
It is a large project containig over 2900 units

Delphi 10.3.2 CNWizards last stable version (Ver: 1.1.9.991 Build 2020.03.12)

[ Last edited by  leobruno at 2020-6-19 21:06 ]
Top
leobruno
新警察
Rank: 1



UID 433005
Digest Posts 0
Credits 28
Posts 8
点点分 28
Reading Access 10
Registered 2017-11-24
Status Offline
Post at 2020-6-19 22:40  Profile | Blog | P.M. 
Searching this forum for a solution, i found this older post??<a href="http://bbs.cnpack.org/viewthread.php?tid=926" target="_blank">http://bbs.cnpack.org/viewthread.php?tid=926</a><br />
<br />
It seems that the issue lies with the fact that the process is exceding the number of resources that the ide is able to handle.<br />
<br />
Maybe a more efficient feature should be an option to process all files contained on the dpr file or files for all project group, but in groups of "N" files, in a way that the user specifies the number of files that sould be processed in a cue.<br />
<br />
This used together with the option "Auto Save/Close Unopened Files" should automate the process in a way that the feature would work without any user interaction.<br />
<br />
Without this, I?ll have to manually open almost 3k pas files in order for this feature to work.<br />
<br />
This will be a handfull job.

[ Last edited by  leobruno at 2020-6-20 02:53 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6750
Posts 3551
点点分 6750
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2020-6-28 14:37  Profile | Blog | P.M. 
Unfortunately, though we closed the opened files using "Auto Save/Close Unopened Files" option after processing, the resources of IDE seems are mostly still kept. And problems occurred like yours.

Now we do not have a good way to solve this, though using group of "N" paging mode, the resources of IDE still kept.
Top
 




All times are GMT++8, the time now is 2024-3-29 02:54

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.007180 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP