Please help me out of this.

sir teensy has 256 kb of ram then what’s the problem handling about 3000 leds

The problem isn’t a technical issue. It’s a human matter about the ability to hear advice.