# Has the variable size become larger ?

**URL:** <https://forum.mikrotik.com/t/has-the-variable-size-become-larger/180655>\
**Category:** Scripting\
**Created:** [December 12, 2024, 6:45am UTC](https://forum.mikrotik.com/t/has-the-variable-size-become-larger/180655 "2024-12-12T06:45:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rextended](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/rextended/32/67729_2.png) [@rextended](https://forum.mikrotik.com/u/rextended)\
**Post date:** [December 12, 2024, 8:14am UTC](https://forum.mikrotik.com/t/has-the-variable-size-become-larger/180655/2 "2024-12-12T08:14:34Z")

</div>

What is the purpose of this useless thread/topic/post?

Read from remote file on the past RouterOS versions are limited to 64512 bytes at time (my idea from 2021)  
[http://forum.mikrotik.com/t/how-to-download-only-one-piece-of-file-at-a-time-with-tool-fetch-and-put-it-inside-a-variable/151020/1](http://forum.mikrotik.com/t/how-to-download-only-one-piece-of-file-at-a-time-with-tool-fetch-and-put-it-inside-a-variable/151020/1)

Variable sizes have always been “infinite” as long as there is free memory…  
[http://forum.mikrotik.com/t/max-size-of-variables-still-at-4096-anwser-is-no/168007/3](http://forum.mikrotik.com/t/max-size-of-variables-still-at-4096-anwser-is-no/168007/3)

> This create on 6.x and on 7.x one variable of 41.943.040B (~40MB)
> 
> ```plaintext
> 
> ```

:global test “0123456789”  
:for i from=1 to=22 do={:set test ($test . $test);:put [:len $test]}

```auto
>
```

---

_[View the full topic](https://forum.mikrotik.com/t/has-the-variable-size-become-larger/180655)._
