PSoC Creator 4.1 Memor Leak

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I'm not sure where this belongs, but I am experiencing what is most likely a memory leak in PSoC Creator itself?

   

When I leave PSoC creator open, actively working on an active project, for say 12-24hours, I notice that the build time starts to increase.  I'm just building the firmware part usaully.

   

For example, after working for about 12 hours, a rebuild is takes about 13.5 seconds.  (I just added a space to the open file and re-built the project).  Then, I closed PSoC creator, re-opened the project, added another space, and rebuilt.  This time, it took only 2.9 seconds.

   

This happens with other projects I work on as well.

   

I had noticed this in earlier versions, and was told that this latest version had some memory leak fixes.  They are apperently not all gone.

   

I'm happy to provide whatever information you need, and have an archive of the project workspace attached, as well as the information from the about screen pasted below.

   

Thanks,

   

Scott

   

 

   

-------- From About PSoC Creator:

   

Environment:
PSoC Creator  4.1 (4.1.0.2686)
Culture: English (United States)
OS Version: Microsoft Windows NT 10.0.15063.0
CLR Version: 4.0.30319.42000

   

Installed CyInstaller Products:
Peripheral Driver Library 2.1.0
PSoC Programmer 3.26.0
PSoC Creator 4.1

   

Loaded Plugins:
Name: Feedback Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Add a feedback page to the framework

   

Name: Customizer Loader
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Loads component customizers.

   

Name: Addin Discovery
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Discovers PSoC Creator addins (kits, language packs, etc)

   

Name: Device Catalog
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Device Catalog Plugin

   

Name: Documentation
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds the topics available in the documentation.

   

Name: Start Page
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds a start page to the framework.

   

Name: Output Window Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds the output window

   

Name: SCC Manager
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Source Code Control Manager is the central class used for SCC actions within PSoC Creator.

   

Name: Symbol, Schematic and SchMacro Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Symbol and Schematic Factory is used to load, cache, and retrieve symbols and schematics.

   

Name: Project Manager Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds project management related functionality.

   

Name: GDE Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Loads the Symbol and Schematic editors

   

Name: Language Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Supports user files in multiple languages

   

Name: Workspace Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Workspace Factory is used to retrieve instances of PSoC Creator workspaces.

   

Name: Project Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Project Factory is used to retrieve instances of PSoC Creator projects.

   

Name: Toolchain Manager
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Creator Toolchain Manager

   

Name: ARM GCC Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM GNU Generic

   

Name: ARM MDK Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM MDK Generic

   

Name: ARM IAR Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM IAR Generic

   

Name: DP8051 Keil Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: DP8051 Keil Generic

   

Name: Device Selector
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds a dialog that allows the user to select a device.

   

Name: File Editor Factory Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Add file editors to the framework.

   

Name: Transport Framework
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides a generic device communication framework for use by other plugins.

   

Name: Debugger Core
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Core Debugger provides an architecture independent framework for the common debug features.

   

Name: PSoC Debugger
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides debugging support for the different PSoC families through a GDB back end.

   

Name: FM Debugger
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides debugging support for FM device families

   

Name: Device IO Transport
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides device IO support for Cypress devices though PSoC Programmer APIs.

   

Name: Serial Transport
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides basic serial device support for the rest of the tool.

   

Name: Bootloader Host
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides a host tool to perform bootloading operations.

   

Name: Background Elaborator
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Creator Background Elaborator.

   

Name: TypeCache Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The TypeCache Factory is used to retrieve instances of TypeCaches.

   

Name: PSoC Fitter
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Fitter Plugin

   

Name: FM Fitter
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: FM Fitter Plugin

   

Name: DWR Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Registers resource editors with devices.

   

Name: DMA Wizard
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Enables quick and correct development of applications that use DMA.

   

Name: Tuner Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Manages custom component tuner executables

   

Name: Notice Window
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Notice Window displays notices (status messages / errors with managed lifetimes).

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you ever consider that your OS is moving unused data and program code out of ram to the swap filewhich will take a considerable time to get loaded again. Same will happen to unused .dll files. There is an LRU algorithm for ram which will optimize ram page loading.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

well, perhaps, but why would it do that if I'm actively using the program?  And, also if that were the case, it would seem to me that if a compile were slow, a second compile right after a slow one would be fast again, because the files and stuff were back in real memory? 

   

I did forget to mention that the cursor will occasionally disappear as well - leaving no indication where I'm editing.

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Which OS is there on your system and the .NET version

0 Likes
Anonymous
Not applicable

you will find that information in my original post.

0 Likes