# Importing data to Machine Learning

**URL:** <https://discuss.elastic.co/t/importing-data-to-machine-learning/369416>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [October 25, 2024, 10:17am UTC](https://discuss.elastic.co/t/importing-data-to-machine-learning/369416 "2024-10-25T10:17:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tapiojaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tapiojaa/32/134828_2.png) [@tapiojaa](https://discuss.elastic.co/u/tapiojaa)\
**Post date:** [October 25, 2024, 10:17am UTC](https://discuss.elastic.co/t/importing-data-to-machine-learning/369416/1 "2024-10-25T10:17:03Z")

</div>

Hi,  
I'm studying Machine Learning and trying to import sample data to the Elasticsearch witch can be found here [Machine-Learning-with-Elastic-Stack-Second-Edition/Chapter12 at main · PacktPublishing/Machine-Learning-with-Elastic-Stack-Second-Edition · GitHub](https://github.com/PacktPublishing/Machine-Learning-with-Elastic-Stack-Second-Edition/tree/main/Chapter12)

I can import exactly 8132 rows, but if I add one more row I get an error "File structure cannot be determined". Just above 8000 lines doesn't sound that big. I have checked that data format is ok.

---

<div class="post-metadata">

**Author:** ![valeriy42](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/valeriy42/32/82758_2.png) [@valeriy42](https://discuss.elastic.co/u/valeriy42)\
**Post date:** [October 28, 2024, 7:53am UTC](https://discuss.elastic.co/t/importing-data-to-machine-learning/369416/2 "2024-10-28T07:53:20Z")

</div>

Hello @tapiojaa ,

Can you please tell us which Elasticsearch version you are using so we can recreate the issue? 8000 rows is definitely not the limit, so the problem should be elsewhere.

---

<div class="post-metadata">

**Author:** ![tapiojaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tapiojaa/32/134828_2.png) [@tapiojaa](https://discuss.elastic.co/u/tapiojaa)\
**Post date:** [October 28, 2024, 9:58am UTC](https://discuss.elastic.co/t/importing-data-to-machine-learning/369416/3 "2024-10-28T09:58:23Z")

</div>

We have the latest version 8.15. We are running Elasticsearch on AKS. I wonder if memory configuration could be the reason? We have following memory configuration on each node pools. I don't know which node pool takes care of importing data

```auto
          - name: elasticsearch
            env:
              - name: ES_JAVA_OPTS
                value: "-Xms4g -Xmx4g"
            resources:
              limits:
                # cpu: 1
                memory: 6Gi
              requests:
                # cpu: 1
                memory: 2Gi

```
