Best Way to write dynamic Text on static Meshs?

Hello,

my basic problem is that I have a lot of static meshs and I have to write a separate text on each of them. The meshs are simple rectangles and the text should be on every page.
Here is a picture how it should look like:

Currently I use CanvasRenderTexture2D to create textures with the desired text.
This is my code for it (As Pictures because i can’t find how to make pretty Code in this):


The CanvasRenderTexture2D-Object:

The method called after UpdateRecource:

However, this method leads to massive memory consumption, so that the engine can no longer be used with 4000 static meshes. It uses all 32 GB ram i have.
For my project it is however necessary to have 4000 or more meshes at the same time, whilst keeping performance as good as possible.

My question now is whether it gives a resource-saving method to create a dynamic text when creating the static mesh and write it to the mesh?

The Text should be on each site of the Mesh.

By dynamic I mean that only when creating the mesh is known what this text looks like, not that the text should be changed at runtime.

I just started working with the Unreal Engine and hope that one of you knows a better solution for my problem.
Thank you in advance for suggestions.